Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Internal Server Error when creating bookingΒ #28231

@Ra0R

Description

@Ra0R

Found a bug? Please fill out the sections below. πŸ‘

Issue Summary

A summary of the issue. This needs to be a clear detailed-rich summary.

Steps to Reproduce

  1. Request with:
    to https://api.cal.eu/v2/bookings
{
   "responses":{
      "name":"Anonymous Mous",
      "email":"[email protected]",
      "location":{
         "value":"link",
         "optionValue":""
      },
      "guests":[
         
      ]
   },
   "user":"anonymouse-cmihimjad00031ryvc7fvvocn-platform-ch",
   "start":"2026-03-03T14:00:00+01:00",
   "end":"2026-03-03T15:00:00+01:00",
   "eventTypeId":180311,
   "eventTypeSlug":"default-meeting-60-min",
   "timeZone":"Europe/Zurich",
   "language":"de",
   "metadata":{
      "expertId":"909b2939-d23b-4146-b698-7829961018a6",
      "userId":"6e59cede-3454-42a5-a90b-9d65fe0cb415"
   },
   "hasHashedBookingLink":false,
   "routedTeamMemberIds":null,
   "skipContactOwner":false,
   "_isDryRun":false,
   "dub_id":null
}
  1. Response
{
   "status":"error",
   "timestamp":"2026-03-01T20:56:46.919Z",
   "path":"/v2/bookings",
   "error":{
      "code":"InternalServerErrorException",
      "message":"\"length\" is outside of buffer bounds",
      "details":{
         "message":"\"length\" is outside of buffer bounds",
         "error":"Internal Server Error",
         "statusCode":500
      }
   }
}

Actual Results

Internal error.

Expected Results

No internal error.

Technical details

  • Browser version, screen recording, console logs, network requests: You can make a recording with Bird Eats Bug.
  • Node.js version
  • Anything else that you think could be an issue.

Evidence

  • How was this tested? This is quite mandatory in terms of bugs. Providing evidence of your testing with screenshots or/and videos is an amazing way to prove the bug and a troubleshooting chance to find the solution.

Used calcom atoms @ 2.1.0 and cal.eu.

The bookings are somehow still created, but the initial response is internal server error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions