Errors
WemX follows standard HTTP response code to indicate success or failures.
HTTP Codes:
Codes in range
2xxindicate a successful responseCodes in range
4xxindicate invalid, incorrect or incomplete parameters, permission errors or authentication errors.Codes in range
5xxindicate server side errors
WemX always responds with a success parameter to determine if the response was a success. If the response is false, an additional errors parameter is passed with an array of errors giving a more detailed error as to what went wrong.
{
"success": false,
"errors": [
"Username is already taken"
]
}Last updated
Was this helpful?