Solved

Access token expected in the 'X-Authorization' header

  • 26 April 2024
  • 2 replies
  • 202 views

Badge +1

   Hello,
I got this error with the Queue, the programme can not insert data into the queue trought the api, any suggestion please?

"code": "UM1117",
    "details": null,
    "message": "Access token expected in the 'X-Authorization' header"

 

 

Thank you.

icon

Best answer by jon.stueveapeople 1 May 2024, 16:13

View original

2 replies

Userlevel 3
Badge +7

You’ll need to Authorize via the API to retrieve an access token, or Update the access token for the user. Looking at the your message, the bot didn’t even execute the API, because it wasn’t authorized or shared the access token in the REST API command



see:https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-control-room-apis.html

v1 Authentication API: https://docs.automationanywhere.com/bundle/enterprise-v2019/page/auth-api-supported.html#tag/auth
v1 Authentication API: https://docs.automationanywhere.com/bundle/enterprise-v2019/page/auth-api-supported-v2.html

 

Badge

Hi!

How did you solve it?

Reply