cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Meetings cannot be booked, with error "Could not book the meeting. JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

Open dplanella opened this issue 2 years ago • 4 comments

Issue Summary

Yesterday someone was still able to book a meeting using my 30 minute event. As of today, it's not possible to book meetings using that event. As soon as the details are entered on the event, the following error message is shown:

Could not book the meeting. JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

No meeting is booked on the calendar after receiving this error.

I was able to reproduce it myself by trying to schedule the meeting with the person who first alerted me of this. Then I tried to use the event to schedule a meeting with myself, with the same result.

Once the error is shown, the meeting slot that was intended to be used is no longer available if one tries to book another meeting.

Steps to Reproduce

  1. Go to https://cal.com/dplanella/
  2. Click on the 30 min meeting
  3. Choose a date
  4. Enter the meeting details
  5. Click on Confirm
  6. Error is shown: Could not book the meeting. JSON.parse: unexpected end of data at line 1 column 1 of the JSON data. See screenshot below.
  7. No meeting is booked
  8. The slot used to book the failed meeting is no longer available to schedule further meetings.

Error

Technical details

  • Browser version: Firefox 105.0.1
  • OS version: Ubuntu 22.04

dplanella avatar Sep 26 '22 12:09 dplanella

Hi there

Thank you for reaching out. Can you try reinstalling your calendars? Make sure you tick all the necessary permissions and once you reconnect them test it out one more time

Let me know

milospuac avatar Sep 26 '22 16:09 milospuac

@milospuac thanks. I did as suggested, but I got a new set of messages, error and was unable to book a meeting:

  1. Removed calendars
  2. Re-added calendar

Then:

  1. Go to https://cal.com/dplanella/
  2. Click on the 30 min meeting
  3. Choose a date
  4. Choose a time. Confused by the "1/2 Seats available" and "2/2 Seats available" messages. See Screenshot no. 1 below
  5. Enter the meeting details. Note message on "1/2 Seats available", which I can't understand.
  6. Click on Confirm
  7. Error is shown: Could not book the meeting. Already signed up for time slot. See screenshot no. 2 below.
  8. No meeting is booked

Screenshot 1: Captura de pantalla de 2022-09-26 22-02-30

Screenshot 2: Captura de pantalla de 2022-09-26 22-03-10d

dplanella avatar Sep 26 '22 20:09 dplanella

ideally we never show an error after clicking confirm and somehow catch the error earlier. maybe even hot-reload the page if something changes

PeerRich avatar Jan 25 '23 16:01 PeerRich

@Udit-takkar can you investigate what is causing this?

PeerRich avatar Jan 25 '23 16:01 PeerRich

pretty sure htis has been fixed

PeerRich avatar Jun 20 '23 09:06 PeerRich