Errors
SellTraces-owned JSON routes generally return an error field with an HTTP status code. Better Auth delegated routes may return provider-owned shapes. For request and response schemas on a specific operation, use the generated pages under API Reference.Common errors
Error envelope
Application-owned API routes usually return:Validation issues
POST /api/ingest can include Zod validation issues for malformed JSON uploads:
Contributor Terms
POST /api/ingest returns 403 until the signed-in account accepts the current
Sell Traces Contributor Terms. The
body links to the dashboard page where the user accepts them:
Retry guidance
- Retry
202device polls after the returned interval. - Do not retry
400schema errors without changing the request. - Retry
403 terms_requiredonly after the user accepts the terms atacceptUrl. - Treat
409 already_soldas final for trace eligibility changes. - Retry transient
500,502, and503only with backoff.