Skip to main content

Vendor API Error Codes Guide Added

An Error Codes page has been added to the Vendor API development guide.

When a vendor receives an API request from ONDA (ONDA Hub) and fails to process it, the vendor must respond using the standard error format defined on this page.

Key Contents​

Error Response Format​

{
"code": "4000",
"error": "No rooms available for booking"
}

Both code and error are required, and error must use the defined English message exactly as written.

Error Code List​

Twelve error codes are defined, grouped by category.

CategoryCode Range
SYSTEM_ERROR1000
AUTH_ERROR2000
VALIDATION_ERROR3000
BUSINESS_ERROR4000 – 4007
UNKNOWN_ERROR9999

BUSINESS_ERROR codes are documented together with their related endpoints (Create Reservation, Check Reservation, Cancel Reservation, Confirm Reservation), so it is clear which code to return in each situation.

For details, see the Error Codes guide.

Contact​

If you have any questions about API integration, please feel free to contact us: