Chatbot App local testing doesn't work

Description
When I try using the Local Test option to install the dev version of my chatbot app, the authorization succeeds but when the Zoom client opens I get an error message saying “Failed to open chat”. The chat bot is not present in the client.

Error
Failed to open chat
Something went wrong, please try again.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Chatbot

Which Endpoint/s?
I am attempting to use the deep linking endpoint https://zoom.us/launch/chat?jid=robot_v1eabftbnnt-qpklq_xkxzwg@xmpp.zoom.us

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. GET https://zoom.us/launch/chat?jid=robot_ <jid_from_features_page>
  2. Zoom client opens and displays error

Hey @niraj,

When you are testing with this, are you logged in as a user under the same account that is associated with the Chatbot development credentials? Similarly, do you run into this error if you’re logged in as the account owner?

Let me know—thanks!
Will

Hi @will.zoom,
During the local test I’m logged in as the account owner. It’s the account under which the Chatbot app is created in zoom marketplace.

Hi @niraj,

Thanks for confirming. Can you try uninstalling the app and reinstalling the local test, and then share the following, if possible:

  • Screenshot of the authorization screen when you click install, including the URL
  • Screenshot of the error message

Thanks,
Will

Hi @will.zoom,

Tried reinstalling the app in Development mode (Local Test) via the url https://zoom.us/oauth/signin?_rnd=1604130982005&client_id=lVSwDjsOS2WJRK8zCQAcxw&redirect_uri=http%3A%2F%2F1a2fed729179.ngrok.io%2Fv3%2Fapi%2Fzoom%2Fchatbot%2Fauthorize&response_type=code which
after the authorize screen


becomes https://zoom.us/launch/chat?jid=robot_v1cqj2162hri2dez1pgleymg@xmpp.zoom.us

then opening the native zoom app with the error


Same thing happens when installing the app in Production mode via the Publishable Url https://zoom.us/oauth/signin?_rnd=1604131800181&client_id=NiQXnlVvQce4lL2ZYUOe3w&redirect_uri=https%3A%2F%2Fidecisiongames.com%2Fv3%2Fapi%2Fzoom%2Fchatbot%2Fauthorize&response_type=code

which changes to https://zoom.us/launch/chat?jid=robot_v1eabftbnnt-qpklq_xkxzwg@xmpp.zoom.us

after clicking on ‘Authorize’ button.

Tested in Chrome 86.0.4240.111 (Official Build) (x86_64) on mac (zoom Version: 5.4.0 (58631.1025)) and windows devices.

Hey @niraj,

Thanks for sharing these screenshots and details. It sounds like there could be a bug here, but one last thing I wanted to rule out—are you updating your ngrok URL within your OAuth app’s redirect/whitelist URLs each time you restart your server locally?

Thanks,
Will

Hi @will.zoom,
Yes, I update the “Redirect URL for OAuth” and “Whitelist URL” each time my local server is restarted. My production server’s always up, but the zoom error persists for both development and production urls.

Hey @niraj,

Are you signed in to the Zoom App with the same account that is installing the Chatbot app?

Thanks,
Tommy

Hi @tommy,
Yes, I’m using the same account for installing the Chatbot app and when signing into the Zoom App.

Thanks for the details @niraj!

We are taking a look at this issue and will update you with what we find. (ZOOM-214611)

-Tommy

Hey @niraj,

Can you please try uninstalling your Chatbot, then updating your Zoom App, and reinstalling the Chatbot?

If that still does not work, we can hop on a Zoom meeting to debug the issue together.

Thanks,
Tommy

Hi @tommy,
Tried reinstalling the Chatbot to open it in the latest Zoom App (Version: 5.4.1 (58698.1027)) without luck.
Looking forward to having the Zoom meeting with you to debug the issue.

Updated the Zoom app to the latest version 5.4.2 (58740.1105). Got the same error - “Failed to Open Chat. Something went wrong, please try again.”

Hey @niraj ,

Thanks for trying. I will private message you to schedule a meeting.

-Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.