Oops! We were unable to complete your request. Please try again. (4,700) Help

I am creating an OAuth app to integrate with our Product, as we have been doing for the past few years. However, when creating a new app I am seeing the following error: Oops! We were unable to complete your request. Please try again. (4,700)

I have an older OAuth app which works fine, but using the same details the new app isnt working. I notice that the new app only lets you choose granular meetings scopes, whereas the old one includes just a single scope for viewing and managing meetings.

Any help is appreciated!

1 Like

Hi @josh.dharmanandan
Thanks for reaching out to the Zoom Developer Forum. I am happy to help here!
Have you been able to troubleshoot this on your end?

@elisa.zoom Hi! No, still awaiting some assistance! I have two OAuth apps, one created with the old scope layout from a few months ago, and a new app created with the new scope layout (where there are several sub-scopes now), all the other settings are the same: redirect, whitelist URL etc. The new app still does not work, throwing that error message during the authentication phase. Any thoughts?

Hi @josh.dharmanandan
I understand! could you please share with me what scopes are you adding in this new app that does not work? so I can try and replicate this on my end

Thanks!

Hi @elisa.zoom

Working Old App Scopes:

Not Working New App Scopes: (all meeting scopes)

Is this error happening when authorizing the app? @josh.dharmanandan

I’m having this same issue with an OAuth app. Yes, it occurs when authorizing the App.

1 Like

@elisa.zoom same as Aubrey, during Authorization.

1 Like

Thank you both @josh.dharmanandan @aubreyengland
Allow me some time to do some testing on my end please

for what it’s worth, I’m using Phone & User scopes, and getting the same result. We have older OAuth Apps that work fine, but any new ones we try to create using the new granular scopes fail.

Can you please make sure to have the correct OAuth Redirect URL added and have it as well on the OAuth Allow list and try again? @aubreyengland @josh.dharmanandan

hey Elisa - yes, they are the same. I’ve tried removing the majority of the scopes, and only using only one inside the request, and have the same result. This does happen on both of my newly created apps, but previously created apps still work.

I can confirm I have the same OAuth Redirect URL added and have it as well on the OAuth Allow list for both apps. One works, the new one doesnt. @elisa.zoom

Are you authorizing the app by clicking on the Add App now button?
I am not able to replicate this on my end and I do not get the error you are seeing @josh.dharmanandan

@elisa.zoom
This is what I get in the popup URL: Error - Zoom

I am trying to authorize using my integration, it prompts me for credentials, I enter them and then recieve the error message.

Hi @josh.dharmanandan
Is your integration published in the Marketplace?
If you make any changes to it , you will need to re submit for review to view this changes reflected in production

Hi @elisa.zoom no, it is not published to Marketplace. Any reason or more information we can get on why we are seeing the error message?

Same here - not published with no intent to do so either, as this application is proprietary.

I’ve found the OAuth exchange by monitoring the network console in the browser (important details redacted). The authorization process appears to encounter an issue, resulting in a redirection to a retry authorization endpoint (https://zoom.us/oauth/retry/authorize):

Summary
URL: https://zoom.us/oauth/authorize?client_id=REDACTED&response_type=code&redirect_uri=https%3A%2F%2Fyour-redirect-uri&scope=phone%3Aread%20meeting%3Aread%20user%3Aread&state=REDACTED
URL: https://zoom.us/oauth/signin?_rnd=REDACTED&client_id=REDACTED&redirect_uri=https%3A%2F%2Fyour-redirect-uri&response_type=code&state=REDACTED&scope=phone:read%20meeting:read%20user:read
URL: https://marketplace.zoom.us/authorize?client_id=REDACTED&response_type=code&redirect_uri=https%3A%2F%2Fyour-redirect-uri&scope=phone:read%20meeting:read%20user:read&state=REDACTED&_zmp_login_state=REDACTED
URL: Error - Zoom
Status: 200
Source: Network
Address: 170.114.52.2:443

Request
GET /oauth/authorize
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Referer: https://your-redirect-uri/
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Redirect Response
302
Date: Fri, 28 Jun 2024 16:40:25 GMT
Location: https://zoom.us/oauth/signin?_rnd=REDACTED&client_id=REDACTED&redirect_uri=https%3A%2F%2Fyour-redirect-uri&response_type=code&state=REDACTED&scope=phone:read meeting:read user:read
Referrer-Policy: strict-origin-when-cross-origin

Request
GET /oauth/signin
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Referer: https://your-redirect-uri/
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Redirect Response
302
Date: Fri, 28 Jun 2024 16:40:25 GMT
Location: https://marketplace.zoom.us/authorize?client_id=REDACTED&response_type=code&redirect_uri=https%3A%2F%2Fyour-redirect-uri&scope=phone:read meeting:read user:read&state=REDACTED&_zmp_login_state=REDACTED
Referrer-Policy: strict-origin-when-cross-origin

Request
GET /authorize
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Referer: https://your-redirect-uri/
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Redirect Response
302
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Date: Fri, 28 Jun 2024 16:40:25 GMT
Expires: 0
Location: Error - Zoom
Pragma: no-cache

Request
:method: GET
:scheme: https
:authority: zoom.us
:path: /oauth/retry/authorize/REDACTED
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: _zm_date_format=mm/dd/yy; _zm_lang=en-US; _zm_mkt_aid=REDACTED; _zm_mkt_haid=79; _zm_o2nd=REDACTED; _zm_ssid=us02_c_REDACTED; cred=REDACTED; OnetrustActiveGroups=C0001; OptanonConsent=REDACTED; _zm_currency=USD; __cf_bm=REDACTED; _zm_cdn_blocked=log_unblk; _marketplace_auth_id=REDACTED; _zm_cid2=REDACTED; _zm_login_acctype=6; _zm_page_auth=us02_c_REDACTED; zm_aid=REDACTED; zm_cluster=us02; zm_haid=79; _zm_fingerprint=REDACTED; wULrMv6t=REDACTED; _zm_users_page_size=15; coveo_visitorId=REDACTED; _zm_csp_script_nonce=REDACTED; OptanonAlertBoxClosed=2024-06-24T19:23:24.785Z; _zm_svn=cfsvcs; _zm_mtk_guid=REDACTED; _zm_visitor_guid=REDACTED
Host: zoom.us
Referer: https://your-redirect-uri/
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Response
:status: 200
Alt-Svc: h3=“:443”; ma=86400
cf-cache-status: DYNAMIC
cf-ray: REDACTED
Content-Encoding: gzip
Content-Language: en-US
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: zoomprc: data: blob: ‘self’; object-src ‘none’; base-uri ‘none’;script-src ‘self’ ‘strict-dynamic’ ‘nonce-REDACTED’ blob: https:;
Content-Type: text/html;charset=utf-8
Date: Fri, 28 Jun 2024 16:40:26 GMT
nel: {“success_fraction”:0.01,“report_to”:“cf-nel”,“max_age”:604800}
Referrer-Policy: strict-origin-when-cross-origin
Report-To: {“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v4?s=REDACTED”}],“group”:“cf-nel”,“max_age”:604800}
Server: cloudflare
Set-Cookie: _zm_ssid=us02_c_REDACTED; Domain=zoom.us; Path=/; Secure; HttpOnly
Set-Cookie: cred=REDACTED; Path=/; Secure; HttpOnly
Set-Cookie: _zm_ctaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly
Set-Cookie: _zm_chtaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly
Set-Cookie: _zm_lang=en-US; Max-Age=31536000; Expires=Sat, 28 Jun 2025 16:40:26 GMT; Domain=zoom.us; Path=/; Secure
Set-Cookie: _zm_date_format=mm/dd/yy; Domain=zoom.us; Path=/; Secure
Set-Cookie: _zm_ctaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly
Set-Cookie: _zm_chtaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; Http

Maybe @josh.dharmanandan you can confirm if you’re seeing something similar?

@aubreyengland @elisa.zoom I can confirm I am seeing the same behaviour as Aubrey.

When I initiate the connection, this is the following flow:
image

@elisa.zoom & @josh.dharmanandan - I think I found the issue here, at least in my situation. In my application, we were passing in the scopes as a part of the Auth URL. On any new Zoom App, Zoom seems to have changed the way how the Auth URL is handled/built, and will no longer accept scopes as a part of it. When I remove them, I no longer receive the 4700 error when authorizing my Zoom app.

@josh.dharmanandan - I can’t see in the flow you shared if you’ve done this, but try removing the scopes within the Auth URL and see if that helps resolve the issue .

1 Like