# Chatbot App local testing doesn't work

**URL:** <https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433>\
**Category:** API and Webhooks\
**Created:** [October 27, 2020, 3:09pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433 "2020-10-27T15:09:25Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [October 27, 2020, 3:09pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/1 "2020-10-27T15:09:25Z")

</div>

**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](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\_](https://zoom.us/launch/chat?jid=robot_)\<jid\_from\_features\_page\>
2. Zoom client opens and displays error

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 28, 2020, 7:49pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/2 "2020-10-28T19:49:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [October 29, 2020, 6:30am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/3 "2020-10-29T06:30:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 30, 2020, 4:34pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/4 "2020-10-30T16:34:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [October 31, 2020, 8:17am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/5 "2020-10-31T08:17:53Z")

</div>

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](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

 ![Sign_In_-_Zoom 3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/5/b56a6d32576fcf3626336e4f128be17ff8dda53a.png)  
becomes [https://zoom.us/launch/chat?jid=robot\_v1cqj2162hri2dez1pgleymg@xmpp.zoom.us](https://zoom.us/launch/chat?jid=robot_v1cqj2162hri2dez1pgleymg@xmpp.zoom.us)

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [October 31, 2020, 8:18am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/6 "2020-10-31T08:18:51Z")

</div>

then opening the native zoom app with the error

 ![Zoom 2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/5/950ed58cf751305b38c57ea4297983a42a095057.png)  
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](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](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.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 2, 2020, 9:16pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/7 "2020-11-02T21:16:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [November 3, 2020, 7:49am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/8 "2020-11-03T07:49:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 4, 2020, 12:16am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/9 "2020-11-04T00:16:45Z")

</div>

Hey @niraj,

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

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [November 4, 2020, 8:36am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/10 "2020-11-04T08:36:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 6, 2020, 4:30pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/11 "2020-11-06T16:30:28Z")

</div>

Thanks for the details @niraj!

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

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 6, 2020, 10:46pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/12 "2020-11-06T22:46:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [November 9, 2020, 7:46am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/13 "2020-11-09T07:46:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![niraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/niraj/32/17820_2.png) [@niraj](https://devforum.zoom.us/u/niraj)\
**Post date:** [November 9, 2020, 9:13am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/14 "2020-11-09T09:13:28Z")

</div>

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.”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 10, 2020, 11:06pm UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/15 "2020-11-10T23:06:18Z")

</div>

Hey @niraj ,

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

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 11, 2020, 9:06am UTC](https://devforum.zoom.us/t/chatbot-app-local-testing-doesnt-work/34433/16 "2020-12-11T09:06:19Z")

</div>

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