/change-password
✅ Email as user_id
user_id
These are the possible response codes when you make an API call to the /change-password
endpoint with an email address as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
| "Could not send request" | Invalid Environment name in URL | ||
200 OK | Change password successfully | |||
200 OK | Invalid | |||
200 OK | Null | |||
200 OK | Remove | |||
200 OK | Invalid | |||
200 OK | Null | |||
200 OK | Removed | |||
200 OK | Enter valid | |||
200 OK | Removed | |||
200 OK | Null | |||
200 OK | Remove | |||
400 Bad Request |
| "Invalid json format" | Empty payload | Add the payload. |
400 Bad Request |
| "Invalid json format" | Invalid JSON format used in the payload. | Use correct JSON format for the payload. |
400 Bad Request |
| "Invalid API usage" | Invalid environment ID value | Enter a valid environment ID value. |
401 Unauthorized |
| "Unauthorized" | Incorrect password and | Enter the same |
403 Forbidden |
| "Forbidden" | Invalid | Enter a valid |
422 Unprocessable Entity |
| "client_id": { no error description | Missing value in | Enter a valid |
422 Unprocessable Entity |
| "client_id": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "message": "Passwords do not match" no error description | Mismatched password entered for password and | Enter the same |
422 Unprocessable Entity |
| "message": "Current password is incorrect. Please try again." no error description | Incorrect/Invalid | Enter the correct password. |
422 Unprocessable Entity |
| "message": "Password is not formatted correctly." "error_description": "some inputs are invalid" | Validate | Enter a valid and properly formatted |
422 Unprocessable Entity |
| "password": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "message": "Passwords do not match" no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "password_confirm": "field required" | Remove | Add the |
422 Unprocessable Entity |
| "auth_type": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "auth_type": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "auth_type": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "user_id": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "user_id": { no error description | Incorrect | Enter a valid |
422 Unprocessable Entity |
| "user_id": "field required" | Remove | Add the |
422 Unprocessable Entity |
| "error_details": null, | Invalid | Enter a valid |
503 Service Temporarily Unavailable | "Backend action does not exist" | Invalid version code | Enter a valid |
✅ Mobile phone number as user_id
user_id
These are the possible response codes when you make an API call to the /change-password
endpoint with a mobile phone number as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
200 OK | Null value for | |||
200 OK | Removed | |||
200 OK | Change password successfully using SMS | |||
200 OK | Invalid | |||
200 OK | Null | |||
200 OK | Remove | |||
200 OK | Invalid | |||
200 OK | Null | |||
200 OK | Removed | |||
400 Bad Request |
| "Invalid API usage" | Invalid environment name in URL | Enter a valid environment name in the URL. |
401 Unauthorized |
| "Unauthorized" | Invalid | Enter a valid |
403 Forbidden | "http_exception" | "Forbidden" | Invalid | Enter a valid |
422 Unprocessable Entity |
| "client_id":{ no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "client_id": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "error_details": { no error description | Mismatched password for password and | Enter the same |
422 Unprocessable Entity |
| "error_details": { no error description | Incorrect password and | Enter the same |
422 Unprocessable Entity |
| "error_details": { | Invalid | Enter a valid and properly formatted |
422 Unprocessable Entity |
| "password": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "message": "Passwords do not match" no error description | Missing | Add a valid |
422 Unprocessable Entity |
| "password_confirm": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "auth_type": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "auth_type": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "auth_type": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "user_id": { no error description | Incorrect | Enter a valid |
422 Unprocessable Entity |
| "user_id": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "user_id": "field required" | Removed | Add the |
422 Unprocessable Entity |
| Example: "error_details": null, | Invalid | Enter a valid |
503 Service Temporarily Unavailable | "Backend action does not exist" | Invalid version code in URL | Enter the correct |