I got 401 error on swagger - error message": “You are not authenticated!”
Came across the below solution,
I followed the below article,
https://docs.uipath.com/orchestrator/automation-suite/2023.4/api-guide/authorizing-api-calls-in-swagger
Look for “Authorize” button on Swagger.
Logout and Login again to reissue the expired Access Token. No need to fill in the client secret. This fixed my problem.