Skip to main content
YALG uses HTTP status codes and JSON error bodies for API failures.

Error shape

The message field can be a string or an array of validation messages.

Common statuses

Validation errors

Validation errors normally return 400 Bad Request. Fix the payload before retrying.

Ownership errors

For security, cross-owner resource access usually returns a not-found response. Treat 404 as either missing or inaccessible.