Hi folks, we are self-hosting a <cal.com> installa...
# general
b
Hi folks, we are self-hosting a cal.com installation and are trying to add the Zoom integration. We followed the instructions on the github page, as in we have the zoom creds saved to the env.appstore file. In the Zoom marketplace we followed all the instructions as well. At the end, there is a button to Add the app. When clicking on this button, we are lead to https://<our cal.com url>/api/integrations/zoomvideo/callback?code=<a code string>. We get an error: {"message":"API handler not found"}. So we cannot use the Zoom plugin at this time.
please let me know if you have any suggestions. we are running version v.1.7.2-sh-pro
z
Just to be sure, can you try using
api/integrations/zoom/callback
instead?
b
same result
z
Can yo check your
packages/app-store/apps.server.generated.ts
file and see if zoom is there?
b
zoomvideo:zoomvideo_api,
is in there yes 🙂
z
That's odd. Tagging along @Hariom Balhara it seems like these changes are causing some api handlers to not being found
h
@Bill Garcia Do you see some error in console where you run the next.js server?
From the error it looks like it is not able to find appropriate module to look callback in
b
sure, will do @Hariom Balhara. just so I am clear, which file is this needed for?
b
i'll do that and get back to you, hopefully today 😄 thanks for your help
h
This is what I see for that log and it works fine for me. There should be something wrong here at your end. Sure, appreciate your patience in getting it solved 🙏
b
hi @Hariom Balhara sorry for the delay
this is the output you requested
h
Thanks for getting back :) I see the problem here. It is looking for
zoom
in the object but it's there is
zoomvideo
in it which would fail. I saw that @zomars suggested using
api/integrations/zoom/callback
and I think these logs are with that case. Can you try the original request as per README
/api/integrations/zoomvideo/callback
and then share the logs and the errors that you see?
Hi Bill, thanks for getting back. It confirms now that the issue is that client_secret and client_id seems to be not set for zoom Can you go to the App table and check the entry for zoom. There should be keys column and it might not have correct values in it
b
Sure, do you mean in the postgres database itself?
h
Yea
b
there's no entry for zoom in the app table actually
h
Oh, but how were you able to see the app on app-store
b
i can see it in the zoom marketplace
h
If there is no entry it shouldn't be possible
b
not from cal.cm
the readme says to set up the zoom integration in the zoom marketplace
thats where you generate the zoom client id and secret
then at the end there's a button to add it
h
Can we get on a call to solve it quickly?
b
sure
h
Give me 2 mins
b
sure
just for reference this is what i mean
then if i click add
it gives the error i mentioned before: {"message":"API handler not found"}
h
Oh, sorry. In my mind I was imagining the Add button on cal.com
Thanks Bill for joining me on the call !! Feels good to be able to solve this problem. @zomars It was env variables issue. Due to some reason some env variables weren't being picked and I believe @Bill Garcia at that point created an apps/web/.env.appStore file. It caused 2 .env.appStore files to exist. When Bill added zoom variable, he added to apps/web/.env.appStore when .env.appStore had the same variables but with empty values. This is why zoom app was not installable.