2 weeks ago
Hi - I've set up Workato CLI and am trying to run the init command.
I have followed the guidance on setting up a API Client Role with the correct permissions.
Then, I've created an API Client and generated teh key.
Whatever I try results in a 401 error. I've looked for community posts on this to no avail.
Can anyone help?
Thanks,
Steve
a week ago
Hi @steverist ,
Before diving deeper into troubleshooting, I have one question: Have you selected the correct Workspace URL and generated the API Client token from that same workspace and also we should not use any prefix before the token like Bearer, just copy & paste the token from Workspace
A 401 Unauthorized error often occurs when there is a mismatch between the Workspace URL and the API Token being used. Please verify that:
It appears there may be a mismatch between the workspace and the Token being used. Please double-check these settings and try again.
For reference, I have attached a screenshot that illustrates the correct configuration.
Thanks,
J Rajesh Kumar.