Documentation Index
Fetch the complete documentation index at: https://apidocs.scripe.io/llms.txt
Use this file to discover all available pages before exploring further.
unprocessable
| HTTP | When |
|---|---|
| 422 | The request was syntactically valid JSON but semantically rejected. |
400 invalid_request and 422 unprocessable carve up the validation
space:
invalid_request— the request shape is wrong (missing required fields, malformed JSON, wrong types).unprocessable— the request shape is fine but the values don’t satisfy a business rule (an enum is out of range, a referenced row doesn’t exist for this workspace, a date is in the past, etc.).
POST /v1/postswithscheduledForset to a timestamp in the past.POST /v1/sourceswithtype !== "text"(until file ingest ships).contentTypeset to a string outside the supported enum.
Recovery
- Read the error
message— forunprocessablewe surface the human reason (which field failed, what the constraint is). - Fix the value client-side and retry. The same
Idempotency-Keycan be reused only if the fixed body still hashes the same — which it almost never does, so generate a fresh key.