Now LIVE! Check out the NEW Zoom Feature Request space to browse, vote, or create an idea to enhance your Zoom experience.
Explore NowEmpowering you to increase productivity, improve team effectiveness, and enhance skills.
Learn moreKeep your Zoom app up to date to access the latest features.
Download Center Download the Zoom appDownload hi-res images and animations to elevate your next Zoom meeting.
Browse Backgrounds Zoom Virtual BackgroundsEmpowering you to increase productivity, improve team effectiveness, and enhance skills.
Zoom AI Companion2022-06-07 05:06 AM
When making request to get Access Token, I'm always getting unsupported_grant_type Error.
Please help me to know where I'm going wrong..
Code:
axios.post(
"https://zoom.us/oauth/token",
{
grant_type:'authorization_code',
code: req.query['code'],
redirect_uri: '<RedirectUri>'
},{
headers:{
Authorization: 'Basic ' + Buffer.from('<CLIENT_ID>' + ':' +
'<CLIENT_SECRET>').toString('base64'),
'Content-Type': 'application/x-www-form-urlencoded',
}
}).then((rs:any)=>{
console.log(rs);
})
.catch((err:any)=>{console.log(err);})
Logs:
data: {
reason: 'unsupported grant type',
error: 'unsupported_grant_type'
}
2022-06-28 02:41 PM
I'm getting the same grant type error from this call, did you ever figure this out?
Thanks
--Andy
2022-08-22 04:06 AM
Hello, I'm experiencing the same issue, did you figure it out ? Thanks
2022-08-22 05:28 AM
Hi, yes, I got this working, my code looks like the above but it also has a "code_verifier" .
See github.com/zoom/zoomapps-sample-js
2022-08-22 07:12 AM - edited 2022-08-22 07:13 AM
So, PKCE ("code_challenge" & "code_verifier") is unavoidable 😕
2022-11-16 04:45 AM - edited 2022-11-16 04:45 AM
have you fixed this error? please let me know, I'm also facing this issue, please help me to figure out the issue
2023-01-02 08:40 PM
https://marketplace.zoom.us/docs/guides/auth/oauth/
I was having the same problem. The Zoom official document says Request body, so I was sending the request by transforming the Request body into json. Do not transform into json, but request in the form of form data or request parameters.
This is my java code that matches the content. I still lack a lot.
2023-01-02 09:07 PM
I realized my mistake. Looking at the header part of the official Zoom document, it says Content-Type: application/x-www-form-urlencoded, but I wrote the request body in the form of application/json, so the problem seems to have occurred.
2022-11-22 06:14 AM
@Samarth_Opt Please you will find the answer here -> https://youtu.be/LY7jXL9FSqA