Error Objects
The DIDWW API returns error objects in JSONAPI format. Each error includes a title, detail, code, and status to help you diagnose issues.
Validation Error Object
A validation error occurs when a request contains invalid or missing data.
Attributes
Name |
Type |
Nullable |
Description |
---|---|---|---|
|
string |
False |
Short error description. |
|
string |
False |
Detailed error description. |
|
string |
False |
Always returns |
|
string |
False |
Path to the error attribute or relationship in the request payload. |
Not Found Error Object
This error occurs when the requested resource cannot be found.
Attributes
Name |
Type |
Nullable |
Description |
---|---|---|---|
|
string |
False |
Record not found. |
|
string |
False |
The record identified by |
|
string |
False |
Always returns |
|
string |
False |
HTTP status code |
Insufficient Funds Error Object
This error occurs when your account balance is too low to complete the request.
Attributes
Name |
Type |
Nullable |
Description |
---|---|---|---|
|
string |
False |
Insufficient funds. |
|
string |
False |
Your account balance is too low to complete this action. |
|
string |
False |
Always returns |
|
string |
False |
HTTP status code |
Conflict Error Object
This error occurs when a request conflicts with the current state of the resource (for example, when trying to delete a resource that has dependencies).
Attributes
Name |
Type |
Nullable |
Description |
---|---|---|---|
|
string |
False |
Conflict. |
|
string |
False |
Resource-specific message describing the conflict. |
|
string |
False |
Always returns |
|
string |
False |
HTTP status code |