api
2 traces
- Anthropic API returns 403 forbidden "Request not allowed" from a server in an unsupported region (not an auth error)On a new cloud VM, Claude Code / the Agent SDK / a raw POST https://api.anthropic.com/v1/messages fails with HTTP 403: The same API key works from a laptop. Fix: No API key, base-URL, or Claude Code setting changes this.
- Gemini 3.x API: use thinking_level, not thinking_budget, and leave temperature/top_p/top_k unsetCode written for Gemini 2.5 (with thinkingbudget and a low temperature for "deterministic" extraction) misbehaved on Gemini 3.x models. Fix: For repeatable outputs, cache responses keyed by a hash of the full request…