Find the cause of an API access problem.
Most API failures fall into five causes: the wrong origin, the credential, the access, the identifiers or the input. Rule them out in that order.
Capture a small, clean example.
Record the environment, the operation, the status code and the error body with secrets removed. Keep the bearer credential, private record content and personal data out of screenshots and shared logs.
Check that the request targets the authenticated API origin from the current reference, not the marketing website or an origin copied from another environment.
Match the symptom to the check.
| Symptom | What to check |
|---|---|
| HTML instead of an API response | The host and path. A website or sign-in page answered instead of the API. |
| Authentication rejected | The Authorization: Bearer header, the key itself and whether it is still valid in this environment. |
| Access denied | The caller’s organization, app access, role and the operation requested, before granting anything broader. |
| App or resource not found | The installed app ID and resource IDs from authenticated discovery, not the catalogue slug. |
| Request rejected by validation | Required fields, identifiers, relationships and allowed values against the current schema. |
| Intermittent limits or failures | Documented rate limits and retry guidance. Retry with backoff and check the final state. |
Shrink the request.
Try a narrow read the caller should be allowed to perform. If the read works and a write fails, look at the write’s permission and validation separately.
Do not answer an unexplained failure by granting administrator access or resubmitting a write. An earlier attempt may have succeeded even if the client never saw the response.
Escalate with a reproducible example.
Send the environment, the intended operation, the observed result, the time and a minimal request with secrets removed. Include any request or correlation ID from the response, and say what changed before the failure began.