# OAuth 401 Unauthorized response: "code":124,"message":"Invalid access token

**URL:** <https://devforum.zoom.us/t/oauth-401-unauthorized-response-code-124-message-invalid-access-token/21469>\
**Category:** API and Webhooks\
**Created:** [June 16, 2020, 10:24am UTC](https://devforum.zoom.us/t/oauth-401-unauthorized-response-code-124-message-invalid-access-token/21469 "2020-06-16T10:24:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdelrahman.nabil](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdelrahman.nabil/32/10531_2.png) [@abdelrahman.nabil](https://devforum.zoom.us/u/abdelrahman.nabil)\
**Post date:** [June 16, 2020, 10:24am UTC](https://devforum.zoom.us/t/oauth-401-unauthorized-response-code-124-message-invalid-access-token/21469/1 "2020-06-16T10:24:13Z")

</div>

**Description**  
I’m trying to integrate the Meeting APIs[create a meeting, get a meeting, delete meeting] using PHP 7.2 and Laravel Lumen, and Guzzle, PHP HTTP client. To call the endpoint but I always get  
401 Unauthorized response: “code”:124,“message”:"Invalid access token. although my access\_token is not expired and my Cilent\_id, Client\_seceret are valid also I checked my scopes and it includes `meeting:write:admin``meeting:write` `meeting:read:admin`.

**Error**

# Client error: `POST https://api.zoom.us/v2/users/{meeting_id}/meetings` resulted in a `401 Unauthorized` response: {“code”:124,“message”:“Invalid access token.”}

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

**Which Endpoint/s?**  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. {domain}/api/v1/zoom/create-meeting /  
“Authorization” =\> “Bearer access\_token” /  
{  
“topic” : "create meeting test ",  
“start\_time” :“2020-06-14T13:00:00”,  
“duration” : “30”,  
“timezone” : “Africa/Cairo”  
}
2. See error

# Client error: `POST https://api.zoom.us/v2/users/{meeting_id}/meetings` resulted in a `401 Unauthorized` response: {“code”:124,“message”:“Invalid access token.”}

---

<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 19, 2020, 4:41pm UTC](https://devforum.zoom.us/t/oauth-401-unauthorized-response-code-124-message-invalid-access-token/21469/2 "2020-06-19T16:41:06Z")

</div>

Hey @abdelrahman.nabil,

> [@abdelrahman.nabil](#):
>
> {domain}/api/v1/zoom/create-meeting /

Are you using v1 or v2 of our APIs?

Thanks,  
Tommy

---

<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, 10:09pm UTC](https://devforum.zoom.us/t/oauth-401-unauthorized-response-code-124-message-invalid-access-token/21469/3 "2020-08-21T22:09:03Z")

</div>


