Question

Control Room API Error { "code": "json.deserialization.exception", "details": null, "message": "Invalid request parameters" }

  • 20 September 2022
  • 2 replies
  • 580 views

We are trying to use control room APIs which are available. We are successfully getting responses for APIs like Get all roles, Get all users, get user by ID, and even trigger bot APIs also working fine.

But some of the below mentioned APIs we are getting error. Please help to check

 

=> {{ControlRoomURL}}v1/usermanagement/roles/{id} - Update Role by ID

 

When we try to use update role(Role ID:369) API using postman, we are getting error as In below screen shot.

image 

=> {{ControlRoomURL}}v1/usermanagement/users/{uid} - Update User Details

 

When we try to update user (User ID:7) using API by adding some roles, we are getting error as in below screenshot.

image


2 replies

Userlevel 6
Badge +16

Hi @Nitin B S​ ,

 

Checkout below documentation i think payload is the issue,

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-api-update-existing-role.html/p>

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/control-room-api/cloud-api-update-existing-user.html/p>

Userlevel 7
Badge +10

The 'invalid request parameters' suggest some issues with how the API is being fed the input. Please raise a support case so an engineer can validate if your inputs are in line with the format guidelines.

Reply