/pre-register
✅ Email as user_id
user_id
These are the possible response codes when you make an API call to the /pre-register
endpoint using an email address as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
201 Created |
| Successful response | ||
201 Created |
| Successful resending of activation link | ||
201 Created |
| Successful pre-registration with missing | ||
201 Created |
| Missing | ||
201 Created |
| Successful pre-registration with empty | ||
201 Created |
| Successful pre-register when | ||
201 Created |
| Successful pre-register when | ||
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. |
422 Unprocessable Entity |
| "emailAddress": s] "error_description": "some inputs are invalid" | Error on pre-registration of existing email | Enter a valid email address that hasn't been registered. |
422 Unprocessable Entity |
| "emailAddress": s] "error_description": "some inputs are invalid" | Error on pre-registration of existing email when resend is false | Enter a valid email address that hasn't been registered. |
422 Unprocessable Entity |
| "auth_type": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "redirect_uri": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "grant_type": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "profile_fields": "field required" | Removed | Add the |
422 Unprocessable Entity |
| "emailAddress": { no error description | Removed | Add the |
422 Unprocessable Entity |
| "client_id": { no error description | Missing | Enter the |
422 Unprocessable Entity |
| "auth_type": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "error_details": null, | Missing | Enter a valid "redirect_uri` value. |
422 Unprocessable Entity |
| "emailAddress": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| Example: "380": "Expecting value: line xx column xx (char 380) | Missing | Enter a valid |
422 Unprocessable Entity |
| "user_id": { no error description | Missing | Enter a valid `emailAddress value. |
422 Unprocessable Entity |
| "auth_type": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "redirect_uri": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "emailAddress": s] "error_description": "some inputs are invalid" | Invalid | Enter a valid |
422 Unprocessable Entity |
| "error_details": null, | Invalid | 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 /pre-register
endpoint using a mobile phone number as user_id
.
Response code | Error | Message | Scenario | Resolution |
---|---|---|---|---|
Successful pre-registration | ||||
| Error when | |||
| Error when | |||
| Successful sending when | |||
| "mobilePrimary": [ "error_description": "some inputs are invalid" | Error when mobile number exist | Enter a mobile phone number that is not registered yet. | |
| "mobilePrimary": [ "error_description": "some inputs are invalid" | Error when | Enter a mobile phone number that is not registered yet. | |
| "auth_type": "field required" | Removed | Add the | |
| "redirect_uri": "field required" | Removed | Add the | |
| "grant_type": "field required" | Removed | Add the | |
| "profile_fields": "field required" | Removed | Add the | |
422 Unprocessable Entity |
| "mobilePrimary": { no error description | Removed | Add the |
422 Unprocessable Entity |
| "auth_type": { no error description | Missing | Enter a valid |
422 Unprocessable Entity |
| "error_details": null, | Missing | Enter a valid |
422 Unprocessable Entity |
| "mobilePrimary": { no error description | Missing | Enter a valid `mobilePrimary value. |
422 Unprocessable Entity |
| "auth_type": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| "redirect_uri": { no error description | Invalid | Enter a valid |
422 Unprocessable Entity |
| Example: "error_details": null, | Invalid | Enter a valid |
422 Unprocessable Entity |
| "mobilePrimary": ] "error_description": "some inputs are invalid" | Existing | Enter a |
422 Unprocessable Entity |
| "mobilePrimary": ] "error_description": "some inputs are invalid" | Existing | Enter a |
502 Bad Gateway | Invalid | Enter a valid | ||