Invalid access token for create meeting api

We want to create scheduled meeting & add list of predefined users via rest API.
We are getting token successfully.
But when we try to create meeting we get below error
{“code”:124,“message”:“Invalid access token.”} and not able to create meeting.

We have tried using OAuth & Server-to-Server OAuth both credentials, Always getting {“code”:124,“message”:“Invalid access token.”} error.
We are always using recent token
Below is the code sample we are using.
Kinldy let us know what is the issue.
Restsharp Library is used to perform API Calls in .net6 WebApi.

// Access Token Code

var client = new RestClient(“https://zoom.us/”);
var request = new RestRequest(“oauth/token”, Method.Post);
request.AddParameter(“grant_type”, “client_credentials”);
request.AddParameter(“client_id”, _zoomClientId);
request.AddParameter(“client_secret”, _zoomClientSecret);
request.AddHeader(“Authorization”, "Basic " + MyExtension.Base64Encode(_zoomClientId + “:” + _zoomClientSecret));
var response = client.Execute(request);
var result = JsonConvert.DeserializeObject(response.Content);
string token = result.access_token;

// Create Meeting Code
var client = new RestClient(“https://zoom.us/v2/”);
var request = new RestRequest(“users/me/meetings”, Method.Post);

request.AddJsonBody(new
{
topic = “Meeting Topic”,
duration = “30”,
start_time = “2023-06-10T16:30:00Z”,
type = “2”
});

request.AddHeader(“Authorization”, "Bearer " + token);
request.AddHeader(“content-type”, “application/json”);
request.AddHeader(“accept”, “application/json”);
var response = client.Execute(request);

Console.WriteLine(“create response :” + response.Content);
Any suggestions?

@officialafeias

Can you do the following:
1] print the access token that is being generated in console.
2] Once the access token is generated, grab that access token and make a post request (use tools like postman) to create a meeting and see if the token works.

I would also try to print the complete request that is being sent when you make the API call to see if the token is correctly attached in this case.

Let me know if this helps.