# REST API error on OAuth token refresh

**URL:** <https://devforum.zoom.us/t/rest-api-error-on-oauth-token-refresh/1520>\
**Category:** API and Webhooks\
**Created:** [August 2, 2018, 10:58pm UTC](https://devforum.zoom.us/t/rest-api-error-on-oauth-token-refresh/1520 "2018-08-02T22:58:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Craig\_Soules](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Craig\_Soules](https://devforum.zoom.us/u/Craig_Soules)\
**Post date:** [August 4, 2018, 7:36pm UTC](https://devforum.zoom.us/t/rest-api-error-on-oauth-token-refresh/1520/6 "2018-08-04T19:36:48Z")

</div>

I notice you are using the header “Content-Type:application/x-www-form-urlencoded” which isn’t listed in the documentation around refresh listed on this page:

[https://devdocs.zoom.us/docs/oauth-with-zoom](https://devdocs.zoom.us/docs/oauth-with-zoom)

It appears to have solved our problem, so you may want to update the docs accordingly.&nbsp; Also on that page, the refresh token section makes reference to the revoke endpoint, which we noticed, but could be quite misleading for folks.

Thanks!  
Craig

---

_[View the full topic](https://devforum.zoom.us/t/rest-api-error-on-oauth-token-refresh/1520)._
