Error Format
Errors follow standard NestJS error response shape:Common HTTP Status Codes
| Status | Meaning |
|---|---|
400 | Validation/business rule failed |
401 | Missing/invalid auth credentials |
403 | Authenticated but not allowed for resource |
404 | Resource not found |
409 | Conflict (duplicate key or active connection conflict) |
429 | Rate limit exceeded |
Frequently Seen Messages
Authentication / Authorization
API key is requiredInvalid API keyUnauthorizedInvalid connection code.Connection access denied
Search / Quote / Book / Cancel
Invalid connection codeNo connectionOption reference expired or invalidOption reference invalidAccommodation code mismatchStay dates mismatchOccupancy details mismatchPrice changedQuote reference expired or invalid. Please quote again.The booking was not successful.bookingReference is required for cancellationBooking cannot be cancelled. Current status: ...This booking can no longer be cancelled after the check-in dateThis booking is not refundable according to the cancellation policy
Management APIs
Maximum number of API keys (10) has been reachedAPI key not foundUser not foundCannot delete user from another partnerOnly admin can update user statusCan only update user role status, not adminConnection not foundPartner not foundAnother connection is already currentInUse for this partner/apiType/connectionType
Rate Limit Error (429)
When throttled, backend throws Rate limit exceeded and includes:
Retry-Afterheader (seconds)X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset