PROVIDER_TIMEOUT
Provider timeout: An upstream provider did not answer in time.
| HTTP status | Retry |
|---|---|
504 |
with backoff |
Where it comes from: Any endpoint that calls a provider (8 s default timeout, 30 s for Jupiter execute).
Causes#
- The provider is slow or degraded.
How to fix#
- Retry with backoff. In
GET /v1/quoteother providers usually still answer.
Example response#
JSON
{
"error": {
"code": "PROVIDER_TIMEOUT",
"message": "Timed out: li.quest",
"requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
"docsUrl": "https://docs.layerhop.com/errors/PROVIDER_TIMEOUT"
}
}See Error handling & retries for a retry strategy, and the error catalog for every code.