Errors
POST /prospect/data Errors
Status Code | Description of possible error |
---|---|
404 | Thrown if any of the following is true: Not enough parameters in the request body, Error recording data from a prospect, Failed storing prospects data, No deviceTag given, No preSegment given, or No path from preSegment to a segment |
POST /prospect/registration Errors
Status Code | Description of possible error |
---|---|
401 | If deviceData, deviceTag, or preSegment are missing, this error is thrown and the actor is locked for a specified time period. Also thrown if the actor (user) is currently locked and attempts device registration before a set time period has passed. |
404 | ERROR: Attempt to recover a hardened user. The hardened user data is sent to the operator with a notification that recovery of a hardened user was attempted. |
500 | Thrown if system failed converting prospect into user or failed storing serverSecret. |
400+ | Other possible error messages that may appear are: "Failed finding user for recovery", "Unknown preSegment", "User appears to be trying to register (convert prospect into a user) and supplied preSegment is unknown." |
POST /prospect/image Errors
Status Code | Description of possible error |
---|---|
404 | Thrown if any of the following is true: Not enough parameters in the request body or Error recording a document image from a prospect |
400+ | Failed storing prospects image |
POST /recovery/code Errors
Status Code | Description of possible error |
---|---|
404 | Declining recovery request because there are already credentials available for this device |
GET /confirm/email/:AFiUserId/:confirmationCodeEmail (or /confirm/mobile/:AFiUserId/:confirmationCodeMobile) Errors
Status Code | Description of possible error |
---|---|
404 | Was asked to confirm an email/phone which was already confirmed |
POST /prospect/connectsocket Errors
Status Code | Description of possible error |
---|---|
404 | Thrown if any of the following is true: Not enough parameters in the request body or Error recording onboarding socket request |