API Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=6049
Answer
API Failure isolates automation problems across endpoint/version discovery, DNS/TLS, authentication, authorization, request construction, server processing, asynchronous task state and target read-back.
Remember
- HTTP response received ≠ API operation succeeded.
- 2xx accepted ≠ asynchronous operation completed.
- Valid token ≠ caller is authorized for the resource.
- API object updated ≠ downstream workload accepted the change.
First checks
curl -v <api>— full exchange- API status page/health — provider side
- Request ID in response — support
Commands
curl -sS -D - -o /dev/null <url>- Read-only/validation observation for HTTP/TLS/connectivity status and response headers from a documented read-only endp…
Verify in this order
request → TLS → auth → validation → server
Where it usually breaks
An API response proves only that a particular request reached and was answered by an endpoint; it may not prove durable processing or downstream state.
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
API Failure troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6049