Error Response Format
All APIs return structured JSON error responses with three components:| Field | Description |
|---|---|
error | Machine-readable error code |
message | Human-readable description of the error |
details | Additional context about which field or parameter caused the issue |
HTTP Status Codes
| Status | Code | Description |
|---|---|---|
| Unauthorized | 401 | Authentication token is missing or has expired — request a new token |
| Bad Request | 400 | The request contains invalid or malformed parameters |
| Not Found | 404 | The requested resource (template, user, presentation, etc.) doesn’t exist |
| Internal Server Error | 500 | An unexpected error occurred on the server — contact the didx:me team |
Common Errors
401 Unauthorized
401 Unauthorized
400 Bad Request
400 Bad Request
The request body contains invalid data. Check the
details field for which parameter is causing the issue.404 Not Found
404 Not Found
The resource you referenced doesn’t exist. This typically means a template ID, user ID, or presentation ID is incorrect or has been deleted.
500 Internal Server Error
500 Internal Server Error
An unexpected error occurred on the server. This is not caused by your request. Retry the request after a short delay — if the issue persists, contact the didx:me team.

