Support

Home Forums Event Espresso Premium strange error on GET Datetime object

strange error on GET Datetime object

Posted: June 5, 2014 at 3:17 am


Nicolas Alberto

June 5, 2014 at 3:17 am

See link below for the error. If you change the year value on the below query to 2013 or 2015 the data populates just fine. However 2014 produces an error. What would be the cause of this?

{
“status”: “Param event_start with value 2014-05-7 17:00:00 is not of allowed type datetime.”,
“status_code”: 400
}

Any help is appreciated.


Nicolas Alberto

June 5, 2014 at 3:19 am

http://events.joondalup.wa.gov.au/espresso-api/v1/events/public.pretty_json?status=active&Datetime.event_end__gte=2014-05-06%2015:30:00


Dean

June 5, 2014 at 4:07 am

Hi,

That is a very good question.

It works fine for 2014-05-01, but 2014-05-02 onwards causes the error. As well as that the status keeps referring to 2014-05-7 regardless of the date entered.

I will need to refer this to one of the developers for further assistance.


Nicolas Alberto

June 8, 2014 at 10:11 pm

Thanks Dean


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 11:26 am

Hello Nicholas,

Would you happen to have any events with the following start date?

2014-05-7

If so, could you please change it to the following and then turn API debug mode off?

2014-05-07


Lorenzo


Dean

June 16, 2014 at 2:48 am

Hi Nicholas,

I’m just checking to see if this is resolved now or if you had an answer to Lorenzo’s question above.

Thanks.


Dean

July 1, 2014 at 6:32 am

Hi Nicholas,

Just a further check to see if this is resolved now or if you had an answer to Lorenzo’s question above.

If no response is provided, I’ll assume this is resolved and close the forum thread.

Thanks!

The support post ‘strange error on GET Datetime object’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso