Hi Dan,
Do you have a sample REF ID of the error? That will make it easier for us to locate the error on the log.
Thanks,
Ophir
Post
FollowError response using data/getCalendarExceptions API endpoint
When using the getCalendarExceptions endpoint, as detailed here: https://api.clarizen.com/V2.0/services/data/GetCalendarExceptions, I get an internal error response on every call. When I don't send a 'fromDate' and 'toDate' I get a successful response but it's empty every time (I'm assuming it's because there's no date range being passed).
Please sign in to leave a comment.
6 comments
Date
Votes
Hi Ophir,
referenceId 230c6yWDFVryaP3hCsyH1Q
Hi Dan,
It's a weird one, but I can't find the reference ID you've sent nor an error for GetCalendarExceptions in our logs. Could you post your code here (without the passwords)?
Particularly I'd like to verify you used GetServerDefinition before logging in.
Thanks,
Ophir
Hi Ophir,
Here is a part of my code: https://gitlab.com/snippets/11616
We have loads of other methods in this for many API endpoints which do work without issue, It's just the calendar exceptions causing us issues.
This is the format you should use in the REST API:
https://api2.clarizen.com/v2.0/services/data/getCalendarExceptions?fromDate="2015-01-01T00:00:00"&toDate="2015-02-01T00:00:00"
Agree this isn't intuitive and will work on improving it
Hi Eyal,
Thank you very much for your answer, Adding the quotes around the dates has made it work perfectly now. Many thanks.