calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
30.2k stars 7.17k forks source link

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

Open joseuo94 opened 3 weeks ago

joseuo94 commented 3 weeks ago

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

fabio0296 commented 3 weeks ago

Isn't this realted to https://github.com/calcom/cal.com/issues/15644?

prynsh commented 3 weeks ago

@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 commented 3 weeks ago

@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 commented 2 weeks ago

@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 commented 2 weeks ago

@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 commented 2 weeks ago

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

yalla-habibi commented 2 weeks ago

@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 commented 2 weeks ago

https://github.com/calcom/cal.com/assets/25034260/a7fc2a47-ee99-4cc5-800a-e911e161e163

milospuac commented 2 weeks ago

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 commented 2 weeks ago

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

raza001 commented 2 weeks ago

Same here

On Mon, 8 Jul 2024, 20:56 Priyansh Verma, @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/calcom/cal.com/issues/15655#issuecomment-2214441337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPDJBE3B6IJDGCPPRRANYTZLKVTLAVCNFSM6AAAAABKJUR226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGQ2DCMZTG4 . You are receiving this because you were mentioned.Message ID: <calcom/cal. @.***>

fabio0296 commented 2 weeks ago

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

yalla-habibi commented 2 weeks ago

@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 commented 2 weeks ago

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 commented 2 weeks ago

@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

emrysal commented 1 week ago

@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 commented 1 week ago

@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?