/forgot-password
✅ Email as user_id
user_id
These are the possible response codes when you make an API call to the /forgot-password
endpoint with an email address as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
| "Could not send request" | Invalid environment URL | Enter the correct environment ID. | |
200 OK | Send user forgot password link by email address | |||
200 OK | Invalid | |||
200 OK | Removed | |||
200 OK | Removed | |||
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 in URL | Enter the correct environment ID in the URL. |
403 Forbidden |
| "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 |
| "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 |
| "redirect_uri": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "error_details": null, | Missing | Enter a valid |
422 Unprocessable Entity |
| "redirect_uri": "field required" | Remove | Add the |
422 Unprocessable Entity |
| "user_id": { no error description | Invalid | 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 Temporary Unavailable | Invalid region value in URL | 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 /forgot-password
endpoint with a mobile phone number as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
| "Could not send request" | Invalid environment URL | Enter a valid environment URL | |
200 OK | verification code sent to mobile phone number | Send user forgot password link by mobile phone number | ||
200 OK | Invalid | |||
200 OK | Null value in | |||
200 OK | code sent to mobile phone number | Invalid | ||
200 OK | code sent to mobile phone number | Null value for | ||
200 OK | code sent to mobile phone number | Change password to PIN | ||
200 OK | code sent to mobile phone number | Null for | ||
200 OK | code sent to mobile phone number | Remove | ||
400 Bad Request |
| "message": "Invalid API usage" | Invalid environment ID value | Enter a valid environment ID value. |
403 Forbidden |
| "Forbidden" | Invalid | Enter a valid |
422 Unprocessable Entity |
| "client_id": { no error description | Missing in | Enter a valid |
422 Unprocessable Entity |
| "client_id": "field required" | Remove | Add the |
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 |
| "redirect_uri": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "redirect_uri": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "user_id": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "user_id": "field required" | Removed | Add the |
502 Bad Gateway | Invalid | Enter a valid | ||
503 Service Temporarily Unavailable | "Backend action does not exist" | Invalid version code in URL | Enter a valid version code in the URL. |