Skip to content
HTTP Request Error ...
 
Notifications
Clear all

HTTP Request Error 500

5 Posts
3 Users
0 Reactions
6 Views
Thomas_Koch_Nielsen
(@thomas_koch_nielsen)
Posts: 3
Active Member
Topic starter
 

I'm encountering a scenario that results in a 500 internal server error.

I've attempted various solutions without success and would appreciate any assistance.

The API key is configured correctly.

:slight_smile:

.. just removed here

:slight_smile:

I am using this for callin.io.

 
Posted : 09/07/2025 8:29 am
Stoyan_Vatov
(@stoyan_vatov)
Posts: 22
Eminent Member
 

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
digiPanda_Automation
(@digipanda_automation)
Posts: 9
Active Member
 

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
Thomas_Koch_Nielsen
(@thomas_koch_nielsen)
Posts: 3
Active Member
Topic starter
 

Thanks! It was the +2 that caused the issue. I initially thought it was necessary due to the timezone.

:slight_smile:

However, in my subsequent HTTP request within the same workflow, I'm sending this:

https://api.cal.com/v2/calendars/busy-times?loggedInUsersTz=Europe%2FCopenhagen&calendarsToLoad [0][credentialId]=2794160&calendarsToLoad[0]

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&amp;calendarsToLoad%5B0%5D%5BcredentialId%5D=2794160&amp;calendarsToLoad%5B1%5D=&amp;dateFrom=2025-07-11&amp;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
Thomas_Koch_Nielsen
(@thomas_koch_nielsen)
Posts: 3
Active Member
Topic starter
 

I've figured everything out. Thanks to everyone!

:slight_smile:

 
Posted : 09/07/2025 10:51 am
Share: