When there is an error, the Solid Platform returns an object with the details of the error. It includes the request Id, the method used, error status, code, external message, and an internal system message.
EXAMPLE
- {
- "requestId": "req-0414ff1c-5e7b-456a-8730-aa970bc8146b",
- "method": "GET",
- "status": 400,
- "code": "EC_PERSON_ID_HEADER_REQUIRED",
- "message": "The person id in missing in the header",
- "sysMessage": "personId_missing"
- }
In general:
- Codes in the 2xx range indicate success.
- Codes in the 4xx range indicate an error that failed given the information provided
- Codes in the 5xx range indicate an error with Solid's servers (let us know via a help desk ticket if you see them)
Here is a link to see the full list of error codes for the Solid platform: Solid Error Codes