Workflow: Manage Access 400 Bad Request

Good morning!

I am having some difficulty with the Manage Access action in my workflow. The values are static. The role is requestable and the source is healthy. I have tested the request via API too and it was successful.

If anyone has any thoughts, I’d love to hear them.

Thanks for reading!

Hi @jade-townsend

Could you share the configuration for the Manage Access Step?

Hi @ksbagade ,

I’ve just modified it to 10 days duration in case being set at 0 was an issue. Still getting a 400.

Hi @jade-townsend

Nothing looks wrong with your request at first glance.

Here’s a few more things to try:

  1. make “role” → “ROLE” in your request body.
  2. Make sure your ID / Name is the exact one from your role.
  3. If all else fails, you may want to try using an HTTP Request instead utilizing the Access Request API → create-access-request | SailPoint Developer Community

Could you try the same payload with the ‘type’ value capitalized:

[

    {

        "id": "abcd123456",

        "name": "Test Role",

        "type": "ROLE"

    }

]

I have had success with the access request.

Hi @jade-townsend

I think you are giving here full payload for requesting access, instead you should just give the access id which needs to be managed.

If you want to pass the full payload to assign the access, then you should use HTTP Request action.

I hope this helps.

Regards

Vikas.

Hi @trettkowski ,

I have already tried all 3 of your suggestions :slight_smile: API was successful! Head scratcher!

Success! @ksbagade you legend!

Hi Vikas,

It does seem to be the correct payload according to the documentation :slight_smile: