{"id":1358465,"date":"2017-10-03T10:28:54","date_gmt":"2017-10-03T17:28:54","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/"},"modified":"2017-10-03T10:28:54","modified_gmt":"2017-10-03T17:28:54","slug":"problem-with-rest-api","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/","title":{"rendered":"Problem with REST API"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am experiencing a problem with the REST API. Everything was working until recently. I am running the following GET request:<\/p>\n<p>     GET https:\/\/wednesdaynighthop.com\/wnhapi\/tribe\/events\/v1\/events?start_date=2017-10-04&amp;per_page=10<\/p>\n<p>and it works and returns multiple events, including this one:<\/p>\n<pre><code>{\n  &quot;events&quot;: [\n    {\n      &quot;id&quot;: 11971,\n      ...\n      &quot;status&quot;: &quot;publish&quot;,\n      ...\n      &quot;start_date&quot;: &quot;2017-10-04 19:15:00&quot;,\n      ...\n      &quot;end_date&quot;: &quot;2017-10-04 20:15:00&quot;,\n      ...\n  ]\n}<\/code><\/pre>\n<p>Now I try to run the following GET request:<\/p>\n<p>     GET https:\/\/wednesdaynighthop.com\/wnhapi\/tribe\/events\/v1\/events?start_date=2017-10-04&amp;end_date=2017-10-05&amp;per_page=10<\/p>\n<p>and I get this:<\/p>\n<pre><code>{\n  &quot;code&quot;: &quot;event-archive-page-not-found&quot;,\n  &quot;message&quot;: &quot;The requested event archive page does not exist&quot;,\n  &quot;data&quot;: {\n    &quot;status&quot;: 404\n  }\n}<\/code><\/pre>\n<p>when it used to return events before.<\/p>\n<p>Is there something I should change in the way I am making the request. As I said, this used to work since I started developing my app back in May.<\/p>\n<p>Thank you for any advice you may have!<\/p>\n","protected":false},"template":"","class_list":["post-1358465","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Problem with REST API -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Problem with REST API -\" \/>\n<meta property=\"og:description\" content=\"Hello, I am experiencing a problem with the REST API. Everything was working until recently. I am running the following GET request: GET https:\/\/wednesdaynighthop.com\/wnhapi\/tribe\/events\/v1\/events?start_date=2017-10-04&amp;per_page=10 and it works and returns multiple events, including this one: { &quot;events&quot;: [ { &quot;id&quot;: 11971, ... &quot;status&quot;: &quot;publish&quot;, ... &quot;start_date&quot;: &quot;2017-10-04 19:15:00&quot;, ... &quot;end_date&quot;: &quot;2017-10-04 20:15:00&quot;, ... ] } Now [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/\",\"name\":\"Problem with REST API -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-10-03T17:28:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Problem with REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Problem with REST API -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Problem with REST API -","og_description":"Hello, I am experiencing a problem with the REST API. Everything was working until recently. I am running the following GET request: GET https:\/\/wednesdaynighthop.com\/wnhapi\/tribe\/events\/v1\/events?start_date=2017-10-04&amp;per_page=10 and it works and returns multiple events, including this one: { &quot;events&quot;: [ { &quot;id&quot;: 11971, ... &quot;status&quot;: &quot;publish&quot;, ... &quot;start_date&quot;: &quot;2017-10-04 19:15:00&quot;, ... &quot;end_date&quot;: &quot;2017-10-04 20:15:00&quot;, ... ] } Now [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/","name":"Problem with REST API -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-10-03T17:28:54+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-with-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Problem with REST API"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1358465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1358465\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1358465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}