Code |
Message |
Cause |
Possible Frontend Message [Behavior] |
EC000 |
Internal error in API |
Internal error connecting the database |
"Oops! Looks like we hit a snag. Try closing the app and reopening it." |
EC001 |
User not found |
Token user id doesn't match our records |
"Sorry, We couldn't find your information!" |
R000 |
Fail |
The profile wasn't updated |
[Don't change the profile picture] |
R111 |
Success |
The operation was successful |
[Change the profile picture] |
SC006 |
User no authorization |
The token role is not valid for using the API services |
"You have been logged out." - [Take the user to the login screen] |
SC014 |
Expired token |
The token has expired |
"You have been logged out." - [Take the user to the login screen] |
VID164 |
Invalid input for file extension |
The file extension is not in [gif, png, jpg, jpeg] |
"You can't upload files of this type." |
VID165 |
Invalid input for file dimensions |
The file size is smaller than 100x100 px or bigger than 15 MB |
"You can't upload files with this dimensions" |
VID166 |
Invalid input for image file |
The file is empty or it wasn't sent |
[Don't change the profile picture] |