TypesErrorBodyCopy pageOpenView as MarkdownThis page as plain Markdownllms-full.txtEvery page, including the API reference, as one fileOpen in ClaudeAsk about this pageOpen in ChatGPTAsk about this pageThe ErrorBody type of the TypeScript SDK, part of ErrorOrValidation.Copy Texttype ErrorBody = { error: string [key: string]: unknown } FieldsCopy Anchor Link FieldTypeDescriptionerrorstringMachine-readable snake_case error code Used inCopy Anchor Link ErrorOrValidation.EmptyTrashResultThe EmptyTrashResult type of the TypeScript SDK, which messages.deleteMany take or answer.ErrorOrValidationWhat the API answers a failed call with: an ErrorBody, or for validation_failed a ValidationError with its issues. A RequestError carries it as its body.