Hello Visier Developer community,
After calling the endpoint POST /v2/admin/users
with the following payload:
{
"users": [
{
"username": "VALID_USERNAME",
"displayName": "Test & Tester",
"employeeId": "VALID_EMPLOYEE_ID",
"accountEnabled": true,
"email": "VALID_EMAIL"
}
]
}
we are getting the following response:
{
"successes": [],
"failures": [
{
"userId": "",
"userName": "VALID_USERNAME",
"displayName": "Test & Tester",
"error": {
"message": "Unknown error occurred. Please contact Visier Support.",
"rci": "RCIY0070204"
}
}
]
}
What can we do here to overcome this problem?
P.S. When we call the endpoint PUT /v2/admin/users?tenantCode
with the same payload, namely the displayName contains ‘&’ the user gets updated successfully, but the non-alphanumeric characters are removed.
Thanks in advance,
Bogdan