Empty response when trying to refresh

  require "base64"

api_key = “”
api_secret = ‘’

url = “https://zoom.us/oauth/token?grant_type=refresh_token&refresh_token=#{User.first.zoom_oauth_data.refresh_token}

auth_header = “Authorization: Basic #{Base64.encode64(api_key + api_secret)}”

curl_response = curl --http1.1 -H "#{auth_header}" -H "Accept: application/json" -H "Content-Type: application/json" #{url}

p curl_response

Hi @manuelkorfmann4,

I can see that we’ve already connected over at Developer Support, so I will continue the conversation there.

Thanks,
Will

Any news on this matter?

curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

Hi @manuelkorfmann4,

Can you provide some more details about the issue you’re running into and steps to reproduce? This will help me to debug.

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.