Omono API
Menu Errors

Errors

temporarily-unavailable

View as Markdown

HTTP 503 Temporarily unavailable

What it means#

The API is draining for a deploy, waiting for a migration, cannot reach its database during a read, is over its platform-wide request budget, has too many requests in progress platform-wide, or is switched off platform-wide, or another request, or a save in Omono, was still changing the same record (for example a dispatch of the same order) after 5 seconds of waiting. On a purchase order, it can also mean that other saves kept changing its line items or their stock items while a PATCH tried to change its line items, or while /issue tried to issue it. A DELETE of a Draft can also mean that other saves kept changing the record while Omono tried to delete it. In every case nothing was executed, but after such a PATCH the purchase order has a new ETag, and after such an /issue it can have one. Honour Retry-After.

What to do#

Retry after Retry-After (with the same Idempotency-Key on a write). If detail tells you to read the record again, do that first and retry with its current ETag.

The error response#

Every error response has an application/problem+json body. For this error, its code is temporarily-unavailable and its type is the address of this page. If you contact Omono about the error through the in-app chat, quote the response's requestId.