Web server connector issue

Hello Team,

We have created a Web Service connector for the ABC application. For entitlements, we are using the Roles attribute, and the entitlement details are being fetched successfully.
However, when we try to raise a request via Manager Access, we are encountering the following error.
Below is the request body we have configured in the Create operation.
Please let us know if you need any additional details.


java.lang.RuntimeException: For role ‘698_Glostrup_Employee_IT_Role’ profile, unable to find attribute group in ‘account’ schema for application ABC

at sailpoint.service.bundle.BundleProfileRelationUtil.copyManagedAttributeFields(BundleProfileRelationUtil.java:274)
at sailpoint.service.bundle.BundleProfileRelationUtil.addDirectProfile(BundleProfileRelationUtil.java:219)
at sailpoint.service.bundle.BundleProfileRelationUtil.addDirectProfiles(BundleProfileRelationUtil.java:188)
at sailpoint.service.bundle.BundleProfileRelationUtil.populateRelations(BundleProfileRelationUtil.java:124)
at sailpoint.service.bundle.BundleProfileRelationUtil.getBundleRelations(BundleProfileRelationUtil.java:86)
at

body:

{
“Employees”: [

{
“FirstName”: “$identity.firstname”,
“LastName”: “$identity.lastname”,
“Email”: “$identity.email”,
“WageNumber”: “$identity.employee_number”,
“EmployeeNumber”: “$identity.employee_number”,
“Phone”: “$identity.phone_number”,
“Roles”: “$account.getAttribute(‘Roles’)”,
“DepartmentKey”: “$account.getAttribute(‘DepartmentKey’)”,
“WageModel”: “$account.getAttribute(‘Name’)”,
“IsEnabled”: true,
“ActivateEmployee”: true
}

]

}

Could you please let us know how to resolve this issue.

Regards,
Divya P

Hello @Xdipa2407 ,

can you try by setting the type as group for the attribute roles

sill showing same error.

For role ‘698_Glostrup_Employee_IT_Role’ profile, unable to find attribute group in ‘account’ schema for application ABC

ABC application aggregation m to ye aa rha h
but when we are trying to provide access via role, it is not assigned in the target system. getting same error

Please clarify the what is issue you are facing? whether you are facing issue in user provisioning via role ?

Hi @Xdipa2407, the body for your create request looks a bit off. Typically you might use “$plan.firstname” to substitute the value for the “firstname” attribute request in the plan.

“$account.getAttribute(‘Roles’)” looks not at all right to me.