SalpXXAPI News
Tags

#Troubleshooting

Diagnosing error codes, timeouts and odd responses.

#Troubleshooting

Archive →
Integrations5 min read

Reasoning effort is not portable across models: avoiding compatibility 400s at a gateway

GPT models do not accept the same reasoning settings. A gateway needs model-level capability data, deterministic request normalization, and error isolation that separates one model's bad parameter from a channel outage.

Beginner Q&A6 min read

Q&A: HTTP 200 but the answer stops halfway—check finish_reason and stop_reason first

A successful status code means the request was processed, not that the text ended naturally. Read the stop reason before continuing, running a tool, raising a limit, or retrying.

Beginner Q&A4 min read

Q&A: should you retry a 429, a 503, or an insufficient-balance error?

Read error.code before acting. A 429 may mean throttling, exhausted credits, or a spend limit, while a 503 usually means temporary model overload; each needs a different response.

Case Studies3 min read

Case study: a successful top-up still showed insufficient balance because the cache was stale

A real investigation found that a successful database write did not immediately change the read path; a stale balance cache kept pre-authorization rejecting requests.

Beginner Q&A4 min read

Q&A: why does a video request return 200 but no video URL?

Video generation is asynchronous. A successful submission only gives you a task_id; beginners must save it, poll the status, and distinguish accepted from completed.

Case Studies3 min read

Case study: one extra Base URL segment made every model return 404

A real incident showed why a complete endpoint cannot be pasted into a channel Base URL when the client appends its own path.

Case Studies2 min read

Case study: isolate one model after a regional 403, not the whole channel

A production investigation showed that model availability can differ inside one upstream channel. The reusable fix is per-model verification and isolation.

Pitfalls & Selection4 min read

Which API errors are safe to retry: one list, one formula, three exceptions

Rate-limit 429s, 5xx errors and timeouts can be retried automatically; quota-type 429s and 4xx request errors cannot. Honor Retry-After before any backoff formula, and think about double billing before retrying a timeout.

Beginner Q&A3 min read

Q&A: 429 Too Many Requests — who exactly is rate-limiting you

A 429 can come from upstream limits, gateway limits, or a spend cap. Read Retry-After and the rate-limit headers first to find the bottleneck, then decide: wait, slow down, or top up.

AI News2 min read

Claude’s Preserved Thinking 400: Do Not Replay an Edited Thinking Block

Editing, reordering or truncating preserved-thinking history can invalidate signatures; repeating the request does not help.

Case Studies2 min read

Case Study: The Adapter Was Up, Yet the Gateway Hung for 60 Seconds

The real diagnosis was a missing ufw allowance for bridge-to-host traffic; a listener does not prove container reachability.

Case Studies2 min read

Case Study: One Failing Model Should Not Disable an Entire Channel

When one model fails, state should be persisted at channel-plus-model scope, not disable healthy models.

One key for Claude, GPT and 50+ models

The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.