ErrorResponse
successbooleanrequired
Example:
falseerror objectrequired
codestringrequired
Error code for programmatic handling
Example:
VALIDATION_ERRORmessagestringrequired
Human-readable error message
Example:
Invalid request datadetailsstring[]
Additional error details
Example:
["amount: Amount must be positive"]timestampdate-timerequired
Error timestamp
Example:
2025-01-01T10:00:00.000Zpathstringrequired
Request path that generated the error
Example:
/api/v1/temp-linksErrorResponse
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request data",
"details": [
"amount: Amount must be positive"
]
},
"timestamp": "2025-01-01T10:00:00.000Z",
"path": "/api/v1/temp-links"
}