Hello,
I’m trying to get access token from client provided client id and Secret key. Use of HTTP request is done for fetching the same. Getting 401 error upon passing parameters
Hello,
I’m trying to get access token from client provided client id and Secret key. Use of HTTP request is done for fetching the same. Getting 401 error upon passing parameters
Hello Rashmi
Statuscode 401 Unauthorized refers to missing permissions/access.
Are you perhaps missing some identification in the HTTP Request?
Or perhaps the API-provider has strict rules regarding source IP or such?
Regards,
Soren
It depends on the API you are using. Like for UiPath Orchestrator API you will have to POST API request to this URL https://cloud.uipath.com/identity_/connect/token to get the token.
Thanks,
Ashok ![]()
Client has provided their own url and client & Secret key which are to be used for generating token.
Since I’m new to API automation can u elaborate what needs to be done?
As I said for the token retrieval there would be API specific endpoints. You should be asking for API documentation from your client. Every API have documentation on how to get started using it.
Cheers!
Thanks,
Ashok ![]()