Error handling
Understand Navixy Repository API errors based on RFC 9457 format
Error response structure
{
"errors": [{
"message": "Human-readable message",
"locations": [{ "line": 2, "column": 3 }],
"path": ["device"],
"extensions": {
// RFC 9457 standard fields
"type": "https://api.navixy.com/errors/not-found",
"title": "Resource Not Found",
"status": 404,
"detail": "Device with ID '019a6a3f-...' does not exist",
"instance": "/graphql",
// Navixy-specific fields
"code": "NOT_FOUND",
"entityType": "Device",
"entityId": "019a6a3f-...",
"traceId": "0af7651916cd43dd8448eb211c80319c",
"timestamp": "2025-01-15T14:30:00.000Z"
}
}],
"data": { "device": null }
}Standard fields
Field
Type
Description
Navixy-specific fields
Field
Description
Error codes
Code
Status
Type URI
Description
HTTP status codes
HTTP Status
Meaning
Common error scenarios
Validation error (400)
Permission denied (403)
Entity not found (404)
Version conflict (409)
Duplicate (409)
Best practices
Last updated
Was this helpful?