/users/update
These are the possible response codes when you make an API call to the /users/update
endpoint.
Response Code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
200 OK | - | - | Successfully update user details (Make sure to add profile fields the same with the client settings) | - |
200 OK | - | - | Invalid auth_type value | Successful call. Not a required field. |
200 OK | - | - | Missing auth_type value | Successful call. Not a required field. |
200 OK | - | - | Removed auth_type parameter | Successful call. Not a required field. |
200 OK | - | - | Invalid grant_type value | Successful call. Not a required field. |
200 OK | - | - | Missing grant_type | Successful call. Not a required field. |
200 OK | - | - | Removed grant_type | Successful call. Not a required field. |
200 OK | - | - | Invalid redirect_uri value | Successful call. Not a required field. |
200 OK | - | - | Missing redirect_uri | Successful call. Not a required field. |
200 OK | - | - | Remove redirect_uri parameter | Successful call. Not a required field. |
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 invalid client_id value | Ensure the client_id value is correct. |
422 Unprocessable Entity | invalid_parameters | "client_id": { "missing": "required" } | Missing client_id value | Include the correct client_id value. |
422 Unprocessable Entity | invalid_parameters | "client_id": "field required" | Removed client_id parameter | Include the client_id parameter and correct value. |
422 Unprocessable Entity | invalid_parameters | "error_details": null "error_description": "uuid was not valid for the following reason: invalid uuid" | Invalid uuid value | The uuid is required if you are not using the key_property parameter. |
422 Unprocessable Entity | "missing_argument" | "error_details": "provide either uuid or key_property ""error_description": "please provide either uuid or key_property " | Missing uuid value | The uuid is required if you are not using the key_property parameter. |
422 Unprocessable Entity | "missing_argument" | "error_details": "provide either uuid or key_property ""error_description": "please provide either uuid or key_property " | Removed uuid parameter | The uuid is required if you are not using the key_property parameter. |
422 Unprocessable Entity | unknown_attribute | "error_details": null "error_description": "attribute does not exist: xxxxxx" | Incorrect attribute_name used | Ensure that the attribute_name value is correct. |
422 Unprocessable Entity | invalid_json_type | "error_details": "value is a string but attribute_name not given" "error_description": "attribute_name must be provided if value is a string" | Missing value for attribute_name | Include the attribute_name value. |
422 Unprocessable Entity | invalid_json_type | "error_details": "value is a string but attribute_name not given" "error_description": "attribute_name must be provided if value is a string" | Removed attribute_name parameter | Include the attribute_name parameter and correct value. |