# Getting { "code": 124, "message": "This API does not support client credentials for authorization."} when using the token previously obtained

**URL:** <https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413>\
**Category:** Authentication\
**Created:** [March 27, 2023, 1:36pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413 "2023-03-27T13:36:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturo.sanchez](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@arturo.sanchez](https://devforum.zoom.us/u/arturo.sanchez)\
**Post date:** [March 27, 2023, 1:36pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/1 "2023-03-27T13:36:30Z")

</div>

Hello,

We are migrating from jwt to oauth. After following all the steps, we are able to get a token, but when we try to use this token to make requests on meetings o webinars we always get:

{ “code”: 124, “message”: “This API does not support client credentials for authorization.”}

That’s the response when we ask for a token:

{  
“access\_token”: “…Sz7dV7C1OQj57sxGYK38Em-wYzwoSANRrGTV2BkX672…”,  
“token\_type”: “bearer”,  
“expires\_in”: 3599,  
“scope”: “webinar:master webinar:write:admin meeting:read:admin webinar:read:admin meeting:write:admin meeting:master”  
}

Can you tell us if there’s something wrong or how to fix the problem?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 4:46pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/2 "2023-03-27T16:46:02Z")

</div>

Welcome, @arturo.sanchez ,

Thank. you for posting in the Zoom Developer Forum. To begin, could you share the endpoint which returned that response ? Also, can you share if you are building OAuth or Server-to-server Marketplace App? \>

---

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 27, 2023, 5:09pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/3 "2023-03-27T17:09:01Z")

</div>

Hey @donte.zoom I’m trying to call meeting API “[https://api.zoom.us/v2/meetings/](https://api.zoom.us/v2/meetings/)” with jwt token generated with SDKKey and SDKSecret , but getting { “code”: 124,“message”: “Access token is expired.” } every time, any idea why ?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 5:12pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/4 "2023-03-27T17:12:19Z")

</div>

@khoros-webinar-2,

Thanks for the clarification. Can you share if your Meeting SDK marketplace App type has one or two sets of credentials?

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

Zoom Documentation :

- Generate a Meeting SDK JWT  
[https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt](https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt)

---

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 27, 2023, 5:22pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/5 "2023-03-27T17:22:37Z")

</div>

@donte.zoom  
I can see SDK credentials and OAuth credentials both in my “sdkoauthcredentials” page. Should I use clientId and Client Secret ?

In my app when used adds a zoom meetings URL , I need to verify if the zoom URL is valid ,so we are calling meetings api to get the meeting details. previously we were using jwt app type and as that’s depricated we started using SDK app type.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 6:55pm UTC](https://devforum.zoom.us/t/getting-code-124-message-this-api-does-not-support-client-credentials-for-authorization-when-using-the-token-previously-obtained/85413/6 "2023-03-27T18:55:51Z")

</div>

Okay, can you use the OAuth credentials when making the call to the Zoom API endpoint?

Also, here is the chart which provides more details about the Zoom Marketplace App types:

## Understanding app types

> **[Key concepts for Zoom Developer Platform](https://developers.zoom.us/docs/platform/key-concepts/#understanding-app-types)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.
