# Refresh Access token gives invalid client\_id randomly

**URL:** <https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547>\
**Category:** API and Webhooks\
**Created:** [March 25, 2021, 5:56am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547 "2021-03-25T05:56:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user.mix](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/user.mix/32/7899_2.png) [@user.mix](https://devforum.zoom.us/u/user.mix)\
**Post date:** [March 25, 2021, 5:56am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/1 "2021-03-25T05:56:38Z")

</div>

**Description**  
We have an app that is published on the marketplace for around a year now. Things have been working as usual until now, but recently we noticed that when we refresh an user’s access token we get an invalid\_client error. We have not changed our client\_id and client\_secret since release.

This error happens sporadically and we can’t identify any pattern for why it occurs. It would be great if someone can explain why we receive this error.

**Error**

{  
“reason”: “Invalid client\_id or client\_secret”,  
“error”: “invalid\_client”  
}

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

**Which Endpoint/s?**  
[https://zoom.us/oauth/token?grant\_type=refresh\_token&refresh\_token=](https://zoom.us/oauth/token?grant_type=refresh_token&refresh_token=)\<refresh\_token\>

---

<div class="post-metadata">

**Author:** ![scottjg](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scottjg/32/17849_2.png) [@scottjg](https://devforum.zoom.us/u/scottjg)\
**Post date:** [March 25, 2021, 6:01am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/2 "2021-03-25T06:01:45Z")

</div>

This JUST happened to us too at Mar 25, 2021 5:50:14 AM UTC - when retried, the token refreshed successfully.

---

<div class="post-metadata">

**Author:** ![user.mix](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/user.mix/32/7899_2.png) [@user.mix](https://devforum.zoom.us/u/user.mix)\
**Post date:** [March 25, 2021, 6:18am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/3 "2021-03-25T06:18:43Z")

</div>

In our case multiple requests failed between Mar 25, 2021 05:00 AM UTC to 05:45 AM UTC.

---

<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:** [March 25, 2021, 5:01pm UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/4 "2021-03-25T17:01:17Z")

</div>

Hi @user.mix @scottjg,

When you run into this issue, can you share an example token that threw the error with us at [developersupport@zoom.us](mailto:developersupport@zoom.us)? Someone from our team will be happy to further investigate.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![user.mix](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/user.mix/32/7899_2.png) [@user.mix](https://devforum.zoom.us/u/user.mix)\
**Post date:** [March 26, 2021, 2:17am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/5 "2021-03-26T02:17:34Z")

</div>

> [@user.mix](#):
>
> {  
> “reason”: “Invalid client\_id or client\_secret”,  
> “error”: “invalid\_client”  
> }

Hi @will.zoom ,

Thanks for the response. I have emailed [developersupport@zoom.us](mailto:developersupport@zoom.us) with the details of an user who received the error.

Kindly help to investigate.

---

<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:** [March 26, 2021, 2:37pm UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/6 "2021-03-26T14:37:25Z")

</div>

Thanks @user.mix,

We will be in touch shortly.

Best,  
Will

---

<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:** [April 26, 2021, 12:38am UTC](https://devforum.zoom.us/t/refresh-access-token-gives-invalid-client-id-randomly/46547/7 "2021-04-26T00:38:04Z")

</div>

Closed on April 26, 2021, 12:38am UTC

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