# { code: 124, message: 'Invalid access token.' }, Account-level app

**URL:** https://devforum.zoom.us/t/code-124-message-invalid-access-token-account-level-app/76760
**Category:** Meetings
**Tags:** oauth, meeting-sdk
**Created:** [September 30, 2022, 11:52am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-account-level-app/76760 "2022-09-30T11:52:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kantshri561](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kantshri561/32/41846_2.png) [@kantshri561](https://devforum.zoom.us/u/kantshri561)
#### Post date: [September 30, 2022, 11:52am UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-account-level-app/76760/1 "2022-09-30T11:52:20Z")

</div>

hello guys i am trying to create a new Oauth2.0 and create a zoom meeting in zoom integration and i have facing issue { code: 124, message: ‘Invalid access token.’ }

when call the end point – [https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)" + ‘kantshri561@gmail.com’ + "/meetings

and this is code --const create= function(req,res){  
let data=req.body.access\_token;

let body=req.body

var options = {

```
method: "POST",
uri: "https://api.zoom.us/v2/users/" + 'kantshri561@gmail.com' + "/meetings",

body: req.body,
oauth: {
  bearer: `"bearer ${data}"`,

```

},  
headers: {  
authoraization: `"bearer ${data}"`,  
“content-type”: “application/json”,  
},  
json: true, //Parse the JSON string in the response  
};  
console.log(“outside req,”)  
console.log(data)  
request(options, function (error, response,body) {

res.send({body,msg:“process done”})  
console.log(body);  
if (error){  
res.send(error)  
throw new Error(error,console.log(“testing”));  
}else{  
console.log(“in request data”)  
[//res.send](https://res.send)(response)  
console.log(data)  
}  
console.log(“testing–”)  
[//res.status](https://res.status)(200).join("create meeting result: " + response);  
[//console.log](https://console.log)(body.access\_token)  
})  
}

---

<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: [September 30, 2022, 2:22pm UTC](https://devforum.zoom.us/t/code-124-message-invalid-access-token-account-level-app/76760/2 "2022-09-30T14:22:38Z")

</div>

@kantshri561,

Thank you for posting in the Developer Forum. It looks like the Access token being used in your request is not valid. Have you validated that you are generating the access token correctly?

As a test, I’d recommend using a tool like a postman to generate an access token, then using that token to make your request. Here’s a helpful guide you can reference for using OAuth with Postman:

> [@Guide: Making a Zoom API Call with OAuth Credentials in Postman](https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538):
>
> To publish an app on the Zoom Marketplace you must create an [OAuth app](https://marketplace.zoom.us/docs/guides/build/oauth-app/). When you’re ready to test making API calls, download the latest version of Postman and import the Zoom API collections following the steps outlined [here](https://marketplace.zoom.us/docs/guides/guides/postman/using-postman-to-test-zoom-apis/). There are Three Ways to Set up OAuth in Postman to Make API Requests We’re going to go through three ways to set up our OAuth application credentials to successfully authorize and access the Zoom API to make requests. The “Easy” Difficulty OAuth 2.0 Set Up in Postman We’…
