Forum Stats

  • 3,769,801 Users
  • 2,253,023 Discussions
  • 7,875,210 Comments

Discussions

Unable to assign roles/groups to the users created through REST API in FCCS

user10645345
user10645345 Member Posts: 5
edited Jul 2, 2020 5:26AM in EPM System Infrastructure

We are getting errors while assigning roles to an existing user (FYI, user was created using REST API).

We uploaded the file with user login to assign the roles to the user but we are getting the below error:

EPMCSS-20647: Failed to assign/unassign role for users. Invalid or insufficient parameters are passed with command. Please provide all required parameters with REST command. --> This error is for assigning role to the users

EPMCSS-20656: Failed to update user(s) in group(s). Invalid or insufficient parameters are passed with command. Please provide all required parameters with REST command. --> This error is for assigning group to the users

API URL(Tried both - with/without API version):

https://planning9-.pbcs.us2.oraclecloud.com/interop/rest/security/v1/users?filename=AddUsersToRole.csv&rolename=planning9-test User&jobtype=ASSIGN_ROLE

https://planning9-.pbcs.us2.oraclecloud.com/interop/rest/security/v1/users?filename=AddUsersToRole.csv&rolename=planning9-test User&jobtype=ASSIGN_ROLE&api_version=11.1.2.3.600

REQUEST TYPE: PUT

We have verified the uploaded file as well using the GET API call:

https://planning9-.pbcs.us2.oraclecloud.com/interop/rest/11.1.2.3.600/applicationsnapshots

The entire process is done using the Oracle documentation:

https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/prest/lcm_assign_role.html

{

"links": [

{

"href": "https://planning9-.pbcs.us2.oraclecloud.com:443/interop/rest/security/v1/users?filename=AddUsersToRole.csv&rolename=User&jobtype=ASSIGN_ROLE",

"rel": "self"

"data": {

"jobType": "",

"filename": "",

"rolename": ""

},

"action": "PUT"

}

],

"status": 1,

"items": null,

"details": "EPMCSS-20647: Failed to assign/unassign role for users. Invalid or insufficient parameters are passed with command. Please provide all required parameters with REST command. "

}

Please let us know if we are missing something on this, we already lost sometime on our previous SR, this is extremely critical as development has stopped coz of this issue.

Answers