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

Role assignment is consistently failing in AI Agent?

edited May 20, 2026 10:38AM in Human Capital Management 1 comment

Summary:

Hi Oracle Community,

I am working on a requirement to:

  1. Fetch employee roles using PersonNumber
  2. Compare roles against a target list
  3. Assign missing roles to the employee
  4. Revoke roles that should not exist

Revoke is working perfectly. However, role assignment is consistently failing.

ENVIRONMENT
• Oracle Fusion HCM Version: 24B
• Instance: Demo / Dev
• Tool: Postman / REST API

WHAT I HAVE TRIED

  • POST /hcmRestApi/resources/11.13.18.05/userAccounts/{GUID}/child/userAccountRoles
    Body:
    {
    "RoleCode": "ORA_HRC_HUMAN_CAPITAL_MANAGEMENT_APPLICATION_ADMINISTRATOR_JOB",
    "RoleType": "ORA_HRC_ROLE_TYPE_JOB"
    }
    Error: PER-1532349 — The role request couldn't be created because the role isn't requestable.
  • POST /hcmRestApi/resources/11.13.18.05/roleRequests
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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