Using this template helps us debug your issues more effectively 
Description
I am trying to retrieve an oauth token via /oauth/token endpoint and am getting back a 200 response with no data. Zoom is calling an API I have written that takes the supplied authCode and attempts to generate a token, however I am not getting any response back from the zoom API following the guidelines here: https://marketplace.zoom.us/docs/guides/auth/oauth#step-2-request-access-token
Error
No data returned
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Which Endpoint/s?
/oauth/token
How To Reproduce (If applicable)
Steps to reproduce the behavior:
I am sending the following request:
HttpRequest{
method=POST,
uri=https://api.zoom.us/v2/oauth/token,
headers=[
Pair{Authorization=Basic [clientId:clientSecretBase64 encoded]},
Pair{Content-Type=application/x-www-form-urlencoded}
],
body=code=[authCode]&redirect_uri=[myRedirectURI]&grant_type=authorization_code
}
This is one example of the response I’m getting back
< HTTP/2 200
< date: Fri, 18 Jun 2021 20:20:15 GMT
< content-length: 0
< x-zm-trackingid: WEB_ea696e374c001775a2b99c3272baa550
< x-content-type-options: nosniff
< content-security-policy: upgrade-insecure-requests; default-src https://*.zoom.us https://zoom.us blob: 'self'; img-src https: about: blob: data: 'self'; style-src https: safari-extension: chrome-extension: 'unsafe-inline' data: 'self'; font-src https: safari-extension: chrome-extension: blob: data: 'self'; connect-src * about: blob: data: 'self'; media-src * rtmp: blob: data: 'self'; frame-src https: ms-appx-web: zoommtg: zoomus: wvjbscheme: data: 'self'; object-src 'none'; base-uri 'none';
< x-frame-options: SAMEORIGIN
< set-cookie: zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly
< set-cookie: zm_haid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly
< set-cookie: web_zak=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly
< p3p: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
< set-cookie: _zm_ssid=aw1_c_19-PLYTgRwiGG75S5wAqvA; Domain=.zoom.us; Path=/; Secure; HttpOnly
< strict-transport-security: max-age=31536000; includeSubDomains
< x-xss-protection: 1; mode=block
< referrer-policy: strict-origin-when-cross-origin
<
Additional context
I’ve tried just about everything I can think of to try and make this request work, but the API refuses to give me either an error code or any response body back so I’m really not sure what else I should be trying.