# Connection failed: Invalid access token

**URL:** <https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467>\
**Category:** API and Webhooks\
**Created:** [April 16, 2020, 9:12am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467 "2020-04-16T09:12:24Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![barhum77](https://avatars.discourse-cdn.com/v4/letter/b/85e7bf/32.png) [@barhum77](https://devforum.zoom.us/u/barhum77)\
**Post date:** [April 16, 2020, 9:12am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/1 "2020-04-16T09:12:24Z")

</div>

Hello

We succeed to create the JWT app

But we can’t connect to it from moodle

We get all the time the error: Connection status: Connection failed: Invalid access token.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [April 16, 2020, 9:13pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/2 "2020-04-16T21:13:06Z")

</div>

Hi @barhum77 - we will investigate, but I wanted to note I’ve edited your post to remove sensitive information about your account.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [April 16, 2020, 9:24pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/3 "2020-04-16T21:24:13Z")

</div>

@barhum77 have you used the [Zoom LTI Pro Moodle](https://marketplace.zoom.us/apps/f8JUB3eeQv2lXsjKq5B2FA) integration?

---

<div class="post-metadata">

**Author:** ![australianewtalents](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/australianewtalents/32/5824_2.png) [@australianewtalents](https://devforum.zoom.us/u/australianewtalents)\
**Post date:** [April 18, 2020, 4:40pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/4 "2020-04-18T16:40:46Z")

</div>

Hello Michael,

Can you please do a hard reset to my account too?  
120788035  
I deactivated and activated many times but still doesn’t work.

Thank you  
Yan

---

<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:** [April 20, 2020, 9:35pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/5 "2020-04-20T21:35:11Z")

</div>

Hey @australianewtalents,

We are working on it. 🙂

Thanks for your patience,  
Tommy

---

<div class="post-metadata">

**Author:** ![damian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/damian/32/3007_2.png) [@damian](https://devforum.zoom.us/u/damian)\
**Post date:** [April 29, 2020, 5:23am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/6 "2020-04-29T05:23:18Z")

</div>

“Connection failed: Invalid access token.”  
Hi, i cannot connect to zoom from Moodle, my plugin does not function.  
What can i do?

---

<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:** [May 4, 2020, 4:21am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/7 "2020-05-04T04:21:16Z")

</div>

Hey @damian,

Can you please share a screenshot of the issue and steps to reproduce?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![damian](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/damian/32/3007_2.png) [@damian](https://devforum.zoom.us/u/damian)\
**Post date:** [May 4, 2020, 5:15am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/8 "2020-05-04T05:15:59Z")

</div>

Hi Tommy,  
thanks for the replay.  
I have integrated Zoom in Moodle through the Zoom-Plugin. In Moodle I must set up this plugin, and the problem is that I have no connection from my Moodle to Zoom, the token cannot establish connection.  
Please see the attachment.  
What can I do to bring the token in function, I dont no where the token is and where the failure is.  
Thanks for your support.  
Dan

 ![Fehlermeldung_Moodle_ZOOM_01_05_2020.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/13948f061f82fedf77e91ed421411fda97e805c2.jpeg)

---

<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:** [May 6, 2020, 12:22am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/9 "2020-05-06T00:22:19Z")

</div>

Hey @damian,

Please try regenerating your JWT Secret.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![omar1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/omar1/32/8205_2.png) [@omar1](https://devforum.zoom.us/u/omar1)\
**Post date:** [May 12, 2020, 12:24am UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/10 "2020-05-12T00:24:25Z")

</div>

I do that and do not work

---

<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:** [May 15, 2020, 8:37pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/11 "2020-05-15T20:37:39Z")

</div>

Hey @omar1,

Please share specific details and screenshots about your issue and steps to reproduce.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mthiga](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mthiga/32/9632_2.png) [@mthiga](https://devforum.zoom.us/u/mthiga)\
**Post date:** [June 1, 2020, 7:18pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/12 "2020-06-01T19:18:42Z")

</div>

HI,

I have the same challenge and have tried the guidance offered above … it still does not work.

Pls help

 ![Screenshot_2020-06-01 KABUO Administration Plugins Activity modules Zoom meeting](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/becb6f5918cfb23a0a357966cd4045f315de8364.png)

---

<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:** [June 4, 2020, 8:19pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/13 "2020-06-04T20:19:13Z")

</div>

Hey @mthiga,

Double check you are using [JWT App credentials](https://marketplace.zoom.us/docs/guides/build/jwt-app).

You can also try regenerating your JWT Secret.

Let me know if that fixes the issue! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![elearning1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elearning1/32/9981_2.png) [@elearning1](https://devforum.zoom.us/u/elearning1)\
**Post date:** [June 5, 2020, 1:19pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/14 "2020-06-05T13:19:10Z")

</div>

I am experiencing the same issue with the Moodle Zoom Meeting plugin. The plugin requires as shown on the screen captures provided above by other users the “Zoom API Key” and the “Zoom API secret”. When those settings are updated and saved on the plugin, it comes back with the message: “Connection status: Connection failed: Invalid access token.”  
It seems that the connection with ZOOM can’t be established.  
Please help.

---

<div class="post-metadata">

**Author:** ![elearning1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elearning1/32/9981_2.png) [@elearning1](https://devforum.zoom.us/u/elearning1)\
**Post date:** [June 5, 2020, 1:41pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/15 "2020-06-05T13:41:46Z")

</div>

I found the solution to the problem. This may help other users. The installation info for the plugin is on their github page and it reads:  
_Requires Zoom API key and secret. See [https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom). You will need to create a JWT app and that will generate the API key and secret._

_You will need to have Zoom administrator access. Please note that the API key and secret is not the same as the LTI key/secret._

Here is the link to their github page: [https://github.com/ucla/moodle-mod\_zoom](https://github.com/ucla/moodle-mod_zoom)  
It worked for me.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2020, 4:57pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/16 "2020-06-09T16:57:10Z")

</div>

Hi @elearning1, glad that it works. Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:57pm UTC](https://devforum.zoom.us/t/connection-failed-invalid-access-token/13467/17 "2020-08-21T21:57:33Z")

</div>


