
Useful AI API Support Logs Without Keys or Private Payloads
Build a minimal failure record across client, model gateway, and tools, then remove credentials, signed URLs, private content, and unsafe error text before sharing.
Articles about AI Agents, model APIs, developer-tool integration, and Nbility workflows.
#Troubleshooting

Build a minimal failure record across client, model gateway, and tools, then remove credentials, signed URLs, private content, and unsafe error text before sharing.

Use public tasks, explicit completion checks, and controlled conversation history to investigate quality changes without turning one bad answer into an identity claim.

A local example separates UTF-8 decoding, SSE framing, and application parsing, covering split characters, multiline data, comments, and incomplete events.

Diagnose Connection closed and 404 errors across two generations of Streamable HTTP. Check SDK state, verify a fresh connection with a local read-only tool, and avoid repeating an uncertain write.

Trace unknown token and cost totals in OpenClaw, check stable versus beta behavior, preserve transcript evidence, and distinguish measured subtotals from complete billing.

Diagnose unsupported reasoning levels in OpenCode by separating model defaults, selected variants, V1/V2 configuration, and the field actually sent to your endpoint.

Trace empty Agent observations back to the matching tool run, inspect legacy execution order, and test v1 in a copy before repeating actions or changing production.

When response.incomplete is followed by repeated tool-argument JSON errors, inspect the stream, the call, and replayed history before continuing the task.

Diagnose T3 Code workspace preparation by checking Git creation, setup commands, completion signals, and saved Actions. Includes a read-only worktree diagnostic.

Trace Gemini CLI summary-time 503 and model_not_found errors. Check v0.67.0 task aliases, override the summary model, and verify the actual request.

Trace an MCP connection warning to the original tool-schema error. Compare tools/list with the model request, check bool versus boolean offline, and verify recovery without treating an open PR as a released fix.

Diagnose Dify vector dimension mismatches by checking actual embedding outputs, query and document caches, and existing indexes. Includes Dify 1.19.0 source checks and a safe temporary-dataset validation plan.

Diagnose Hermes Stream stale errors by separating socket activity, parsed chunks, and stream lifetime. Check v0.23.0 settings, inspect raw SSE, and test a model-scoped timeout.

A practical troubleshooting sequence for AI API authentication, endpoint, rate-limit, quota, gateway, and upstream failures—including when to retry.

Configure Claude Code with Nbility using ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, settings.json, model selection, and practical fixes for 401, 404, 429, and timeout errors.
A practical troubleshooting workflow for AI image generation failures: safety policy, prompt design, API parameters, async jobs, retries, cost control, and human review.