SAP Knowledge Base Article - Public

3600286 - BusinessUserBusinessRoleAssignmentCollection OData error while performing GET or DELETE operation.

Symptom

While accessing BusinessUserBusinessRoleAssignmentCollection ODATA production URL using browser/external system, C4C is sending an error "404 - Not Found response error."

Environment

SAP Cloud For Customer

Reproducing the Issue

Enter the below URL into Browser or POSTMAN API tool -

https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/BusinessUserBusinessRoleAssignmentCollection('*********************************ADMINISTRATOR_#$IBR$#_1') 

"404 service not reached" error occurs.

Cause

Collection BusinessUserBusinessRoleAssignmentCollection has a special handling that needs to be used.

Resolution

The below URL is used while deleting

https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/BusinessUserBusinessRoleAssignmentCollection('*********************************ADMINISTRATOR_#$IBR$#_1)

Instead use the below URL

https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/BusinessUserBusinessRoleAssignmentCollection(''*********************************ADMINISTRATOR_%23%24IBR%24%23_1')

The difference is use %23%24IBR%24%23 and remove #$IBR$# from the URL and it should work as intended.

Keywords

BusinessUserBusinessRoleAssignmentCollection GET, DELETE, 404 error, encoded  , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem

Product

SAP Cloud for Customer core applications 2502