Notifications
Clear all
How To
5
Posts
3
Users
0
Reactions
6
Views
Hi Thomas,
Is 3.datetime
already a date type variable? Also, what does the +2
at the end of the formula signify?
Could you please consult the API documentation to determine the expected format for the start and end times?
Thanks!
Posted : 09/07/2025 9:36 am
Could you please provide the start time and end time as a timestamp?
Kindly test this and inform us.
Best regards,
Digipanda Consulting Pvt. Ltd
Posted : 09/07/2025 9:54 am
Topic starter
Thanks! It was the +2
that caused the issue. I initially thought it was necessary due to the timezone.
However, in my subsequent HTTP request within the same workflow, I'm sending this:
And I'm receiving this error:
Error: 400 Bad Request
{"status":"error","timestamp":"2025-07-09T10:01:21.259Z","path":"/v2/calendars/busy-times?loggedInUsersTz=Europe%2FCopenhagen&calendarsToLoad%5B0%5D%5BcredentialId%5D=2794160&calendarsToLoad%5B1%5D=&dateFrom=2025-07-11&dateTo=2025-07-12","error":{"code":"BadRequestException","message":"Bad Request Exception","details":{"errors":[{"target":{"loggedInUsersTz":"Europe/Copenhagen","calendarsToLoad":[{"credentialId":2794160},""],"dateFrom":"2025-07-11","dateTo":"2025-07-12"},"value":[{"credentialId":2794160},""],"property":"calendarsToLoad","children":[{"target":[{"credentialId":2794160},""],"value":{"credentialId":2794160},"property":"0","children":[{"target":{"credentialId":2794160},"property":"externalId","children":<span class="chcklst-box fa fa-square-o fa-fw"></span>,"constraints":{"isString":"externalId must be a string"}}]},{"target":[{"credentialId":2794160},""],"value":"","property":"1","children":<span class="chcklst-box fa fa-square-o fa-fw"></span>,"constraints":{"nestedValidation":"each value in nested property calendarsToLoad must be either object or array"}}}]}}}]}}
Posted : 09/07/2025 10:07 am
Topic starter
I've figured everything out. Thanks to everyone!
Posted : 09/07/2025 10:51 am