How to resolve the error "An Unknown error has occurred. (#200)" when accessing Swagger for Automation Cloud or On-Premise Services?
Issue Description:
When navigating to swagger on the web browser for an Automation Cloud or On-Premise Service, users are getting "An Unknown error has occurred. (#200)" error on the UI and "401 You are not authorized!" error when Authorizing on Swagger.
Root Cause: Having large chunks of browser cache held on the browser.
Resolution:
- Navigate to "https://cloud.uipath.com/{organization_ID}/{tenant_name}/orchestrator_/swagger/index.html"
- Note: Steps are similar if on On-Premise environment.
- Error 200 unauthorize. (An Unknown error has occurred. (#200)
- Delete the Browser cache
- Up on clearing the Cache, now navigate back to the Orchestrator
- Open a new tab and https://cloud.uipath.com/{organization_ID}/{tenant_name}/orchestrator_/swagger/index.html
- Make sure to check all the items as shown below.
- Clicked on Authorize as highlighted above
- Test for a status and the Get request should show the status as 200.
Contact UiPath Product Support: If issue persists, create UiPath Support Ticket for further troubleshooting.
Ensure to provide / attach the below list of details in ticket being created,
- HAR File
- If using On_Premise Setup, from the same machine, please share us the event viewer logs: ETVX Logs
- Try reaching the endpoint using Postman - How to Authenticate in UiPath Cloud Orchestrator in Postman and share the outcome with us.
- Confirm if there is a Proxy
- Are there any firewall rules that are getting block - check with your IT.