Troubleshooting and ten evidence misreads
Diagnose authentication, rate limits, memory, latency, tool inputs, JSON, retrieval and file issues, with ten evidence misreads and a troubleshooting record.
How to use
Start with one symptom, record evidence that distinguishes causes, change one condition and recheck. Technical branches were prepared against the listed official references on 2026-11-04; no specific product or model was executed, and examples are not incident records. The ten documentary misreads retain their original dossier dates.
Choose a symptom
| Symptom | Start here |
|---|---|
| 401 / 403 | Authentication and permissions |
| 429 / queued requests | Rate limits and retries |
| Model does not fit / OOM | Capacity |
| Slow first token / slow output | Separate latency stages |
| Tool call fails | Tool inputs |
| Invalid JSON or fields | Structured output |
| Expected sources absent | Retrieval |
| Citation does not support answer | Citation checks |
| Upload fails or extraction is blank | Files and formats |
401/403: authentication and permissions
- Distinguish: 401 indicates missing valid authentication; 403 indicates refusal. Read the response for the actual cause.
- Act: check endpoint, account/project, credential loading and permissions instead of resending unchanged requests.
- Verify: get a minimal request to that endpoint working, then restore the task. Record error codes and request IDs, excluding credentials.
429: rate limits and retries
- Distinguish: inspect rate/quota information and actual concurrency/call counts.
- Act: follow
Retry-Afterwhen present; cap retries and reduce the sending rate rather than creating a retry storm. - Verify: check that the queue drains. Before retrying sends, charges or creates, inspect existing task status and the service's idempotency mechanism.
OOM: separate memory consumers
- Distinguish: note whether failure occurs loading weights, allocating context or handling concurrent requests. File size is not total running memory.
- Act: reduce context/concurrency, inspect cache and runtime overhead, then consider a smaller model or another quantisation. vLLM's
max_model_lenandmax_num_seqsare version-specific, not universal runtime flags. - Verify: start with one request, increase load gradually and retain the configuration. Loading successfully is not task acceptance.
Latency: queue, first token and output
- Distinguish: record queueing, loading, first-token delay and sustained output separately.
- Act: hold model and input fixed; inspect the execution device, process load and logs. Rule out download/load stalls before varying input length or concurrency. Use runtime-specific debugging options.
- Verify: compare the same stages under equivalent conditions without removing required evidence. No universal speed threshold is supplied here.
Tool failures: validate inputs first
- Distinguish: separate schema errors, missing objects, insufficient permissions and execution failures. Keep the tool's raw error apart from the model's explanation.
- Act: use a known object and minimal parameters; check required fields, types, enums and tool version. A number represented as a string is not automatically valid.
- Verify: establish that the tool works before restoring model calls. Check existing results before repeating writes.
JSON: parsing is not schema validation
- Distinguish: check valid JSON, then schema, then factual support.
- Act: specify required fields, nullable values and extra-property policy.
propertiesalone does not require fields;requireddoes not establish their types. Validate against the schema. - Verify: retain missing-field, wrong-type, extra-field and unsupported-value cases. Cap retries and keep failed outputs out of execution tools.
Retrieval: inspect passages before generation
- Distinguish: was the source parsed and indexed, is access allowed, and do retrieved candidates contain the answer? Inspect passage IDs and source text first.
- Act: fix empty or misaligned extraction before retrieval tuning; inspect keyword retrieval for exact IDs, or reranking/context selection when relevant passages are present but buried.
- Verify: record retrieval, answer and citation outcomes separately on fixed questions. Fluent output is not proof of retrieval success.
Citations: match each claim to evidence
- Distinguish: a working link, a relevant page and a supporting passage are different checks.
- Act: locate a sentence, table row or page for each claim; check version, date, units and scope. Remove unsupported claims or mark them unknown/inferred.
- Verify: check each claim against the same original text. Preserve conflicting sources rather than merging them into certainty.
Files: inspect format and extraction
- Distinguish: upload failure, unsupported format, a scan without text and misaligned extraction need different fixes.
- Act: check type, size and page limits; OCR scans and verify table rows/columns. HTTP 415 concerns unsupported media; inspect the service response.
- Verify: check a nonsensitive one-page sample before the original. Successful upload does not establish correct reading.
Troubleshooting record
Fill this record without credentials, personal data or complete sensitive logs.
Task and expected outcome:
Product / model / runtime and versions:
System / hardware / network and date:
Minimal input and failing steps:
Raw error code / request ID / stage:
Causes ruled out and evidence:
The one condition changed:
Recheck result and remaining unknowns:
Next step / rollback:
Illustration only: if retrieved candidates lack a target ID, inspect parsing/indexing and compare an exact keyword query before changing the generation model.
Mistaking n8n for OSI open source
- Symptom: treating public source as OSI open source and using it in closed commercial redistribution.
- Cause: the repository is public, but its fair-code Sustainable Use License has different conditions.
- Avoidance: inspect the licence and applicable redistribution conditions before use.
- Evidence: n8n dossier, checked 2026-10-30.
Mistaking source-visible for open source
- Symptom: assuming a public GitHub repository permits unrestricted modification and redistribution.
- Cause: repository visibility is not a licence grant; the recorded Claude Code CLI licence is All rights reserved.
- Avoidance: read LICENSE and README licensing sections, including redistribution restrictions.
- Evidence: Claude Code CLI dossier, October 2026 snapshot.
Reading the wrong training scope
- Symptom: assuming Gemini conversations are excluded because Gmail/Drive source libraries are not directly used for training.
- Cause: the recorded terms distinguish original connected data from summaries, excerpts and inferences produced during answering.
- Avoidance: read the applicable privacy notice and Keep Activity controls; follow its instructions for sensitive input.
- Evidence: Gemini dossier, checked 2026-10-21.
Confusing two Copilot products
- Symptom: seeking consumer Deep Research or applying consumer terms to enterprise data.
- Cause: different product surfaces, terms and permissions; the recorded consumer Deep Research retirement is 2026-08-18.
- Avoidance: distinguish copilot.microsoft.com from M365 and inspect the Researcher path.
- Evidence: Microsoft Copilot dossier, checked 2026-10-22.
Assuming Atlas is still live
- Symptom: following an old tutorial to an Atlas browser-operation entry point.
- Cause: old product/news pages remain; the recorded release notes give retirement on 2026-08-09.
- Avoidance: check current release notes and the ChatGPT / Codex replacement entry points.
- Evidence: ChatGPT dossier, checked 2026-11-03.
Treating a subscription as a commercial licence
- Symptom: assuming membership permits every commercial use of generated video.
- Cause: ownership and commercial-use conditions differ; the recorded Kling terms link commercial use to membership.
- Avoidance: read the relevant licence tier and retain dated terms/plan records.
- Evidence: Kling dossier, October 2026 snapshot.
Ignoring an irrevocable training licence
- Symptom: uploading client assets and later seeking to withdraw training permission.
- Cause: the recorded Runway terms include an irrevocable training licence without an opt-out.
- Avoidance: exclude unsuitable sensitive material or prepare an appropriate redacted version; retain the applicable terms.
- Evidence: Runway dossier, October 2026 snapshot.
Treating open weights as free commercial use
- Symptom: downloading Ideogram 4.0 weights for commercial use without checking conditions.
- Cause: the recorded release distinguishes free non-commercial use from commercial self-hosting licensing.
- Avoidance: inspect weight licences separately from hosted-service terms and establish permission for the intended use.
- Evidence: Ideogram dossier, October 2026 snapshot.
Skipping terms because the app is closed
- Symptom: assuming local LM Studio inference proves all data stays local.
- Cause: source availability, inference location and complete data egress are different questions. The snapshot did not retrieve full terms, so data paths cannot be inferred from it.
- Avoidance: inspect the model, runtime, network settings, terms and connections. One successful offline response does not prove all modes stay offline.
- Evidence: LM Studio dossier, October 2026 snapshot.
Ignoring a fixed security issue
- Symptom: configuring Windsurf Restricted Mode from old version instructions.
- Cause: the recorded product is now Devin Desktop and has CVE fix records, while older tutorials remain.
- Avoidance: read official releases and security notices, update, then use the applicable configuration.
- Evidence: Windsurf dossier, October 2026 snapshot.
Four questions
- Is the product active? Check the date and content of official release notes.
- Which licence applies? Separate tool, weight and service terms.
- Where does data go? Check training, retention and cross-border handling separately.
- Where is the evidence? Retain source URLs and check dates.
Record critical unknowns affecting the task and obtain evidence before deciding to proceed. Do not turn guesses into satisfied requirements.
Sources
| Source | URL |
|---|---|
| n8n: documentation and licence (fair-code / Sustainable Use License; October 2026 snapshot) | https://docs.n8n.io/ |
| Microsoft Support: Deep Research in Microsoft Copilot (recorded consumer retirement 2026-08-18) | https://support.microsoft.com/en-us/microsoft-copilot/deep-research-in-microsoft-copilot |
| This site: pitfalls in 225 tool dossiers (checks from 2026-10-30 to 2026-11-03) | https://tools.specul.com/ |
| RFC 9110: HTTP status and request semantics (2026-11-04) | https://www.rfc-editor.org/rfc/rfc9110.html |
| RFC 6585: 429 and Retry-After (2026-11-04) | https://www.rfc-editor.org/rfc/rfc6585.html |
| vLLM: conserving memory, runtime/version-specific (2026-11-04) | https://docs.vllm.ai/en/latest/configuration/conserving_memory/ |
| vLLM: troubleshooting and logs, not this site’s execution results (2026-11-04) | https://docs.vllm.ai/en/latest/usage/troubleshooting/ |
| JSON Schema: object properties and required fields (2026-11-04) | https://json-schema.org/understanding-json-schema/reference/object |
| This site: RAG end to end, from documents to answers | https://learn.specul.com/guide/RAG%20%E5%85%A8%E9%93%BE%E8%B7%AF%EF%BC%9A%E4%BB%8E%E6%96%87%E6%A1%A3%E5%88%B0%E7%AD%94%E6%A1%88/ |
Source snapshot: 2026-11-03; item-specific rechecks and their scope are recorded in the text or source notes. Features and terms may change; check the original sources before use.
This page appears in: Write code with AI · Office documents with AI · Use AI well