We have a registration form (frontend) that performs an API call to our database. In the API procedure we check whether the entered data corresponds with the data in the database. Then we check if there is an existing IAM user. If no, we create a new IAM user, if yes, we want to update the existing IAM user. Checking the data in the IAM database and creating a new IAM user works fine. However when trying to update a IAM user (the email address) we get a 422 error code. Should it be possible to update an IAM user E-mailadress? Or is there a setting or constraint that prevents it from working?
Solved
Update IAM user within procedure (API)
Best answer by Mark Jongeling
Hi,
The message after decoding (link) is:
{"MessageType":"ApplicationDbMessage","MessageID":"not_authorized_usr_admin","RawMessage":"<msg id=\"not_authorized_usr_admin\"></msg>","NamedParameters":[],"TranslatedMessage":null}
Meaning that the API call is performed by someone who is not an authorized user administrator.
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.