# Problem with get access token

**URL:** <https://devforum.zoom.us/t/problem-with-get-access-token/101607>\
**Category:** API and Webhooks\
**Created:** [January 11, 2024, 1:42am UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607 "2024-01-11T01:42:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobai.ding](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bobai.ding/32/55544_2.png) [@bobai.ding](https://devforum.zoom.us/u/bobai.ding)\
**Post date:** [January 11, 2024, 1:42am UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607/1 "2024-01-11T01:42:41Z")

</div>

I had got the authorization code of my own account and I am trying to use it to get access token.

I am sending post request with thunder client:  
URL: [https://zoom.us/oauth/token](https://zoom.us/oauth/token)  
Method: Post  
Header:  
{  
Content-Type: application/x-www-form-urlencoded,  
Authorization: Basic Base64Encode(ClientID:ClientSecret)  
}  
the ClientID and ClientSecret are from my registered app in marketplace.  
Body:  
{  
“code”: authorization code,  
“grant\_type”: “authorization\_code”,  
“redirect\_uri”: “localhost:8888”  
}  
When the request been sent, I get status code 200, with:  
{  
“status”: false,  
“errorCode”: -1,  
“errorMessage”: “500 Internal Server Error”,  
“result”: null  
}

there’s another post about 500 internal server error long time ago and seems it’s been fixed at that time. What might be the reason for my problem?

---

<div class="post-metadata">

**Author:** ![bobai.ding](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bobai.ding/32/55544_2.png) [@bobai.ding](https://devforum.zoom.us/u/bobai.ding)\
**Post date:** [January 11, 2024, 1:46am UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607/2 "2024-01-11T01:46:51Z")

</div>

I had made some more trying. it seems will get same respond even with:  
Headers:  
{  
Content-Type:application/x-www-form-urlencoded  
}  
Body:  
{  
“grant\_type”: “authorization\_code”  
}

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 11, 2024, 2:45pm UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607/3 "2024-01-11T14:45:32Z")

</div>

Hope you will be fine.

Please watch the session [here](https://youtu.be/LY7jXL9FSqA?si=rrm3Ai2EJjfGOuqi) about how to get an access token.

For more please connect me ([WhatsApp](http://wa.me/+923104982004)).

Thanks

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 11, 2024, 2:53pm UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607/4 "2024-01-11T14:53:34Z")

</div>

Hi @bobai.ding ,

How you’re accessing the token endpoint is incorrect. Please checkout our public workspace for guidance: [Postman](https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/request/22097587-9f1f9788-6113-490d-9c06-d2eaaf942340?tab=params)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/3/3379243e2c14cc897dd678695c6d7da352b1523e.png)

---

<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:** [January 12, 2024, 5:36pm UTC](https://devforum.zoom.us/t/problem-with-get-access-token/101607/6 "2024-01-12T17:36:27Z")

</div>

Closed on January 12, 2024, 5:36pm UTC

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