docker icon indicating copy to clipboard operation
docker copied to clipboard

Error "Missing attendee email" when trying to create an event in google calendar

Open SuperKa3a opened this issue 3 years ago • 6 comments

Discussed in https://github.com/calcom/docker/discussions/190

Originally posted by SuperKa3a December 20, 2022 Hi! I installed cal.com via docker. Then I set up the Google Calendar integration as written here: https://github.com/calcom/cal.com#obtaining-the-google-api-credentials After that, the application appeared in the list of all applications and I added it. Now when I try to book an appointment, I get an error in the logs: "There was an error contacting google calendar service: GaxiosError: Missing attendee email." I took the request being sent to the google api, compared it with what is expected and realized that when sending, an extra "rest" nesting is generated in the "attendees" block: https://pastebin.com/raw/5TESLGnh

When i repeated the given request in postman i got the same error, but when i removed the "rest" block, the request became successful and the event was successfully added to the calendar.

Tell me, has anyone experienced this? What can be done in this case?

SuperKa3a avatar Dec 21 '22 10:12 SuperKa3a

In the .env that you provide for docker, you may need to remove any quotation marks that wrap the variable value.

Otherwise, this is likely an issue that needs to be opened in the cal.com repository

krumware avatar Dec 21 '22 14:12 krumware

@krumware do you mean the GOOGLE_API_CREDENTIALS parameter? It exactly matches the contents of the client_secret.json file from the Google application, there are no extra quotes. At the same time, the integration itself was successful, that is, the request and granting of rights

SuperKa3a avatar Dec 22 '22 04:12 SuperKa3a

Yes, along with other variables. Env config issues is a common cause, so it's helpful to start there. If those are correct (it sounds like they are) then that error should not be specific to docker, but to the cal.com core project. I haven't heard of that issue otherwise. Have you searched in the /calcom/cal.com issues?

krumware avatar Dec 22 '22 10:12 krumware

Yes, I searched but didn't find

SuperKa3a avatar Dec 22 '22 11:12 SuperKa3a

@SuperKa3a were you able to resolve this? I'm curious if updating the image you are using helps this issue

krumware avatar Jan 07 '23 17:01 krumware

Is this maybe related to #5796 on calcom/cal.com?

libeanim avatar Jan 16 '23 09:01 libeanim

Closing for cleanup, please reopen if still experiencing this issue. Thanks!

krumware avatar Aug 13 '25 23:08 krumware