Users
User errors are prefixed with 001.
Error list
-
User not found
This error is thrown when trying to get a user but no matching user is found. This could happen when getting users, updating users, deleting users, etc. Every action that requires to get information about a user but don’t find a user could throw this error.
-
Error code:
001 -
HTTP status:
404 Not found -
User incomplete data
This error is thrown when application at some point of the request process gets user information but don’t have all the required fields. This could happen in two situations.
- When client provides incomplete user information and the server don’t handle that.
- When inside a server process user is not passed correctly.
Remember that this is an internal server error this error only happens when something in server don’t happen as expected. Either due to a programmer error or an unexpected error.
-
Error code:
002 -
HTTP status:
500 Not found -
User duplicated
This error is trhown when trying to add a user with data that is already associated to another user. Email, wallet, etc.
- Error code:
003 - HTTP status:
400 Bad request