Problem with API

78 views
Skip to first unread message

Guillaume Dévaud

unread,
Sep 20, 2016, 12:28:16 PM9/20/16
to Guardian Open Platform API Forum
Hi,

I'm having issues when trying to access some data. It sometimes it come and it sometimes it give me this error: 
  • response
    {
    • status"error",
    • message"Dates must be an ISO8601 date or datetime (e.g. 2010-07-20 or 2010-07-20T10:00:00+05:00). Remember to URL-encode the '+' if you provide a timezone offset."
    }
}

for this request: 

Mariot Chauvin

unread,
Sep 20, 2016, 12:39:58 PM9/20/16
to guardian...@googlegroups.com
Hi Guillaume,

You have to specify a from-date parameter value and to-date parameter value if you want to filter by dates otherwise do not add those parameters.
 
Mariot

--
You received this message because you are subscribed to the Google Groups "Guardian Open Platform API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guardian-api-talk+unsubscribe@googlegroups.com.
To post to this group, send email to guardian-api-talk@googlegroups.com.
Visit this group at https://groups.google.com/group/guardian-api-talk.
For more options, visit https://groups.google.com/d/optout.



This e-mail and all attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender and delete the e-mail and all attachments immediately. Do not disclose the contents to another person. You may not use the information for any purpose, or store, or copy, it in any way.  Guardian News & Media Limited is not liable for any computer viruses or other material transmitted with or as part of this e-mail. You should employ virus checking software.
 
Guardian News & Media Limited is a member of Guardian Media Group plc. Registered Office: PO Box 68164, Kings Place, 90 York Way, London, N1P 2AP.  Registered in England Number 908396


Reply all
Reply to author
Forward
0 new messages