Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CAL-3995] Error Could not book the meeting. Unexpected token '<', "<!DOCTYPE "... is not valid JSON #15655

Open
joseuo94 opened this issue Jul 3, 2024 · 27 comments
Assignees
Labels
bookings area: bookings, availability, timezones, double booking 🐛 bug Something isn't working foundation High priority Created by Linear-GitHub Sync
Milestone

Comments

@joseuo94
Copy link

joseuo94 commented Jul 3, 2024

A lot of customers reaching out with this issue.

It still creates the booking on Cal.com but does not send the confirmation email

if we open the booking at https://app.cal.com/bookings/upcoming
it says the Conferencing link is in the confirmation email

image.png

Could not book the meeting.
Unexpected token '<', "<!DOCTYPE "... is not valid JSON

image.png

image.png

From SyncLinear.com | CAL-3995

@joseuo94 joseuo94 added bookings area: bookings, availability, timezones, double booking High priority Created by Linear-GitHub Sync 🐛 bug Something isn't working labels Jul 3, 2024
@fabio0296
Copy link
Contributor

Isn't this realted to #15644?

@prynsh
Copy link

prynsh commented Jul 4, 2024

@fabio0296 can you please explain me the error more better. I am trying to solve this issue but i cannot produce the error.

@yalla-habibi
Copy link

@prynsh In my case this happens, when there is a booking page for a group event (in my case it's a round robin). When all required fields a re filled, and the button Confirm is clicked, it takes around 20-30 seconds of loading, and finally the error presented above is displayed, and no redirection is performed. However, the event seems to be created - I can see on the admin panel, and in the calendar (both organiser and atendee). But no workflow is being triggered, effectively no email and SMS in my case is not being sent.

@fabio0296 yes that the same issue

Please let me know guys when the fix is ready, our sale team is suffering a lot, they are literally blocked for two last days. All integrations (CRM, Communication, ERP) is dead when the cal.com doesnt work as supposed to.

@prynsh
Copy link

prynsh commented Jul 5, 2024

@yalla-habibi I am still unable to understand. I am attaching the pictures below for your reference.
Also when I book I see none of the HTML instead there is an event made and I see a success message saying that the said event was created.
This is the image of the dashboard

image
Next when going to the bookings page, I do not see any bookings.

image

@emrysal
Copy link
Contributor

emrysal commented Jul 8, 2024

@yalla-habibi could you send me the event type where this happens? Having a bit of an issue replicating so it's probably due to a setting of sorts.

@raza001
Copy link
Contributor

raza001 commented Jul 8, 2024

I Book But i see none of the html Tag instead of successfully message

@yalla-habibi
Copy link

@emrysal @raza001 @prynsh Please find above a screenshare. @emrysal it's as I outlined above, it's a group event with round robin algorithm

@yalla-habibi
Copy link

Screenshare.-.2024-07-08.11_46_38.AM.mp4

@milospuac
Copy link
Contributor

Can you all check if you have any CRM apps enabled for that event? If yes, try disabling it and check again. I think this is a due to a faulty app that's enabled for that event

@prynsh
Copy link

prynsh commented Jul 8, 2024

Yes, I believe the same because when I was doing it locally I faced no errors and was redirected to confirmation page.

@raza001
Copy link
Contributor

raza001 commented Jul 8, 2024 via email

@fabio0296
Copy link
Contributor

Same here, couldn't reproduce the issue on my local

@yalla-habibi
Copy link

@yalla-habibi guys can you check it on web application and not local? use link:

https://cal.com/team/pricer/badanie-rynku-lokalnego

@milospuac thank for this lead, but I have no applications enabled:
image

(however I did try 2 months ago to enable pipedrive CRM, but at this moment it is not installed )

@yalla-habibi
Copy link

yalla-habibi commented Jul 8, 2024

Guys could you take a look if it's anyhow connected with the issue? It keeps on appearing when I close the settings of the event:
image
It didnt use to be a case before the error.
EDIT: Let me clarify, that ofc there are users assigned to be orginasisers:
image

@yalla-habibi
Copy link

@fabio0296 @raza001 @prynsh @bdzb @emrysal @milospuac any updates on this? We are suffering with the bug for more than 7 working days, this is killing our automated sales process

@PeerRich PeerRich added this to the v4.3 milestone Jul 11, 2024
@keithwillcode keithwillcode modified the milestones: v4.3, v4.4 Jul 16, 2024
@emrysal
Copy link
Contributor

emrysal commented Jul 17, 2024

@yalla-habibi We've diagnosed this issue down to slow execution time, some kind of configuration or external connection causes a long time for the function to execute - when this exceeds 1 minute CloudFlare cuts it off, and returns a "timeout" error. We haven't yet figured out why you guys have this issue (CRM connection, something else?) - and this is hard to investigate as the code is cut-off mid execution, we can see no errors as a result.

@yalla-habibi
Copy link

@emrysal so what is the status? As for the moment, the error has disappeared however I understand that it's not due to your work, what makes me feel like it's not a very stable situation for us, am I correct?

@piannaf
Copy link

piannaf commented Jul 26, 2024

Seeing this issue again
image

@subwaysurety
Copy link

subwaysurety commented Jul 26, 2024

@emrysal found the issue, see below

I can confirm the same issue. It has little to do with Cloudflare; it just cuts the process that hangs up.

CAL_SIGNATURE_TOKEN Is missing a var in .env

and then

it gives in background "no_available_users_found_error" after second try on timeout

Aside from usual Json error you get this one If you click confirm again

image (2)

@Cluster2a
Copy link

We are running cal.com in a docker container. There is no documentation for this environment variable:
https://github.com/calcom/docker

@subwaysurety
Copy link

We are running cal.com in a docker container. There is no documentation for this environment variable: https://github.com/calcom/docker

see my comment above it's a massive core issue they need to fix, docker or not it doesn't matter

@keithwillcode keithwillcode modified the milestones: v4.4, v4.5 Aug 19, 2024
@kukovinetsyevhenii
Copy link

kukovinetsyevhenii commented Aug 21, 2024

Hi
I am trying to use cal.com api
curl --location 'https://api.cal.com/v1/bookings?apiKey=[key]'
--header 'Content-Type: application/json'
--data-raw '{
"eventTypeId": 952631,
"start": "2024-08-26T09:00:00.000Z",
"responses": {
"name": "John Doe",
"email": "[email protected]",
"guests": [],
"location": {
"value": "inPerson",
"optionValue": ""
}
},
"metadata": {},
"timeZone": "America/New_York",
"language": "en",
"title": "Appointment with kendall office with John Doe",
"description": null,
"status": "PENDING",
"smsReminderNumber": null
}
'

I got error

{
"message": "no_available_users_found_error"
}

That happens 100% even though I control all parameters.
Never success.
Please let me know what is the issue.

@subwaysurety
Copy link

@emrysal is this finally getting fixed in 4.5 sprint ? It makes app unusable

@girassolar
Copy link

same problem here. The metting is scheduled, I even get the email, but on n8n, it says: "no_available_users_found_error".

@keithwillcode keithwillcode modified the milestones: v4.5, v4.6 Sep 15, 2024
@Hamzaclaus
Copy link

Has anyone fixed the problem? We are having the same issue now.

@subwaysurety
Copy link

I don't think they give a flying F tbh at this point. This makes tool unusable and they keep pushing it further in backlog.

@Hamzasoinq
Copy link

Guys that’s pathetic it’s almost 2 months still people not able to use to freaking book calls properly I understand if a bug that does not affect but it freaking prevent from booking needs to be sorted yesterday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bookings area: bookings, availability, timezones, double booking 🐛 bug Something isn't working foundation High priority Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

17 participants