Facing Issues while migrating from JWT app type to ServertoServer OAuth

We have our chatbot on zoom but While migrating form JWT App type to Server To Server Oauth I am facing this issue

the below request made to get access token:-

url: https://zoom.us/oauth/token?grant_type=account_credentials&account_id=accountid,
method: ‘POST’,
headers: {
‘Authorization’: 'Basic ’ + Buffer.from(‘clientId’ + ‘:’ + ‘client Secret’).toString(‘base64’)
}

After getting the access token i am using that token to get userDetails by providing their user id
uri: “https://api.zoom.us/v2/users/me” + payloadData.payload.userId,
qs: {
status: ‘active’
},
auth: {
‘bearer’: body.access_token
},
headers: {
‘content-type’: ‘application/json’
},
json: true //Parse the JSON string in the response

I am successfully getting the response and every thing works fine, but while sending the messgae to particular user from the bot I am
getting this error:- data: {
code: 7002,
message: ‘Invalid robot_jid specified in the request body.’,
result: false
}

==================================================================
But while using JWT app type i am using the same logic
→ Generating token using below API:-
url: https://api.zoom.us/oauth/token?grant_type=client_credentials,
method: ‘POST’,
headers: {
‘Authorization’: 'Basic ’ + Buffer.from(config.env.zoom_client_id.value + ‘:’ + config.env.zoom_client_secret.value).toString(‘base64’)
}
→ Then Getting userJID using below Api:-
uri: “https://api.zoom.us/v2/users/” + emailid,
qs: {
status: ‘active’
},
auth: {
‘bearer’: access_token //geneated uisnf JWT APi key and API secrete key
},
headers: {
‘User-Agent’: ‘Zoom-api-Jwt-Request’,
‘content-type’: ‘application/json’
},
json: true

→ In this everything is working fine end to end , but dont know why it not working in ServertoServer OAuth app type

------> user:read:admin chat_message:write:admin imchat:bot chat_channel:read:admin chat_message:read:admin }-> Scope in ServerToServer OAuth
------> imchat:bot }-> Scope defined in Oauth app

hello team,

any updates?

@all - please respond to this customer please

@karen.best @sanjay.de

apologies for the delay here.

Can you send me the request body? I would like to check at my end.