INTERNAL
Internal error: An unexpected error inside LayerHop.
| HTTP status | Retry |
|---|---|
500 |
with backoff |
Where it comes from: Any endpoint.
Causes#
- A bug or an unhandled condition in the API.
POST /v1/orderscould not record the order (database unavailable after one retry). No transaction is returned, so nothing was signed or sent.
How to fix#
- Retry once (for
POST /v1/orders, request the order again with the samequoteId). - If it persists, report it with the
requestId(also in thex-request-idheader).
Example response#
JSON
{
"error": {
"code": "INTERNAL",
"message": "Internal error",
"requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
"docsUrl": "https://docs.layerhop.com/errors/INTERNAL"
}
}See Error handling & retries for a retry strategy, and the error catalog for every code.
Last updated