Skip to main content

Error format

Every /v1 error uses this shape:
Additional safe context appears under error.details:
TenantCore does not return raw internal exception strings, credentials, provider tokens, or arbitrary Microsoft/provider error bodies in generic server failures. Use request_id when support needs to trace the underlying operation.

HTTP status codes

Security and request-control errors

Ownership errors

TenantCore deliberately does not distinguish “this resource exists under another customer” from “this resource does not exist.” Cross-account probes resolve to the same account-scoped not-found behavior.

Idempotent retries

When a completed write is repeated with the same Idempotency-Key and exact same request, TenantCore returns the original status/body and adds:
A new operation must use a new key.

Handling errors in code

For writes, include an idempotency key: