You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get error when assign role to user via REST API

edited 8:48AM in HCM REST APIs

Hi All,

I use REST API to assign role for user.
hcmRestApi/resources/11.13.18.05/userAccounts/{GUID}/child/userAccountRoles

While I use user A, it shows:

The role request couldn't be created because the  role isn't requestable. You must enter a requestable role for the user. (PER-1532349)

When I use user B, it assign correctly.

When I copy user A to a new user C, API still return error.

The URI and payload are the same.


May I know why?

Thank you,

Weitao

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!