/profile/put
These are the possible response codes when you make an API call to the /profile/put
endpoint.
Response Code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
200 OK | - | "stat": "ok" | Update profile successfully | |
200 OK | - | "stat": "ok" | Used incorrect client_id in URL | |
200 OK | - | "stat": "ok" | Not existing email-address used | |
200 OK | - | "stat": "ok" | Invalid locale value | |
200 OK | - | "stat": "ok" | Missing locale value | |
200 OK | - | "stat": "ok" | Removed locale value parameter | |
400 Bad Request | http_exception | "Invalid json format" | Empty payload | Add the payload. |
400 Bad Request | invalid_parameters | "Invalid json format" | Invalid JSON format used in the payload. | Use correct JSON format for the payload. |
403 Forbidden | http_exception | "Forbidden" | Used incorrect client_id inside the body parameter and update profile | Use the correct client_id value. |
422 Unprocessable Entity | invalid_parameters | "firstName": { "missing": "required" } no error description | Missing required field | Enter the missing required profile fields. |
422 Unprocessable Entity | invalid_form_fields | "emailAddress": [ "Email address is not formatted correctly." ] "error_description": "some inputs are invalid" | Invalid email address format used | Use the correct email address format. |
422 Unprocessable Entity | invalid_parameters | "emailAddress": [ "required." ] no error description | Missing emailAddress value | Enter a valid emailAddress value. |