Error Handling

All REST endpoints return JSON along with an HTTP status code.

{
"success": true,
"...": "other response fields"
}

When a request fails, the response includes a descriptive message:

{
"success": false,
"message": "Why the request failed"
}

Log errors with the associated request ID whenever possible so that the Resemble team can help debug issues quickly.