You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling completeOAuth2, I cannot catch the error that occurs when a user does not have a sufficient user license. This makes it impossible for me to handle this error and I am not sure why the error is breaking out of the try catch
Reproduction
try{constres=ArcGISIdentityManager.completeOAuth2(JSON.parse(opts));}catch{console.log('Error not being caught');}
Logs
ArcGISIdentityManager.ts:472 Uncaught (in promise)
ArcGISAuthError: invalid_request: You do not have a sufficient user license type to access this application.
at win.addEventListener.once (ArcGISIdentityManager.ts:472:31)
at reportError (chunk-MWYRUQLI.js:924:20)
at ArcGISIdentityManager.completeOAuth2 (chunk-MWYRUQLI.js:975:14)
at Authenticate.tsx:28:41
Describe the bug
When calling
completeOAuth2
, I cannot catch the error that occurs when a user does not have a sufficient user license. This makes it impossible for me to handle this error and I am not sure why the error is breaking out of the try catchReproduction
Logs
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: