Tavrik

Error codes

upstream

HTTP 502 · Bad Gateway

An AI provider failed to handle the request.

What it means

The request was valid, but the provider it was routed to returned an error, timed out or could not be reached, or rejected the credential Tavrik uses for it.

What to do

Retry after a short wait. If it persists, give your operator the request_id so they can check the provider and its credential.

In the response

type
https://tavrik.ai/errors/upstream
code
upstream
status
HTTP 502
title
Bad Gateway
request_id
Identifies the request, when the response has one. Quote it when you ask your operator about an error.