{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Validation error","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"validation-error","__idx":0},"children":["Validation error"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTTP status:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400 Bad Request"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Content-Type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/problem+json"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["type:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://truescreen.redocly.app/errors/validation-error"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This error is returned when the request payload or its parameters fail validation. Common causes include: missing required fields, invalid value formats, non-existent referenced resources, or business rule violations."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"associated-error-codes","__idx":1},"children":["Associated error codes"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Code"},"children":["Code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Message"},"children":["Message"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Cause"},"children":["Cause"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-001"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Malformed payload."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unparseable JSON body or structure not conforming to the schema"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Validation data error."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Missing required field (e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["title"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["files"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template_token"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-003"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Relative resource not found."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template_token"]}," does not match any flow template"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-004"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Flow data validation error."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Values in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow_data"]}," do not match the flow template schema"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-005"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sign data validation error."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Values in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sign_data"]}," do not match the flow template schema"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-006"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attachment already linked to Template."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The attachment is already associated with a template"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-007"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On before create function not found."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid template internal configuration"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-008"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Insufficient credits available."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Insufficient credit balance to complete the operation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-011"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No certification attachments found."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upload_session_token"]}," has no associated attachments"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-012"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A certification has already been created for this upload session token."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upload_session_token"]}," has already been used to create a certification"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-013"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not all files have been uploaded."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Some registered files were not uploaded before creation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-901"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["This True Link has already been used to create a certification."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The True Link has already been used"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-response","__idx":2},"children":["Example response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"https://truescreen.redocly.app/errors/validation-error\",\n  \"title\": \"Validation error\",\n  \"status\": 400,\n  \"detail\": \"must have required property 'template_token'.\",\n  \"code\": \"TS-002\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-to-resolve","__idx":3},"children":["How to resolve"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["detail"]}]}," field to see which field or constraint failed validation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}]}," to identify the error category in the table above."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify the request payload against the schema documented in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi"},"children":["OpenAPI spec"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-008"]}," (insufficient credits): check your balance with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/credits"]},"."]}]}]},"headings":[{"value":"Validation error","id":"validation-error","depth":1},{"value":"Associated error codes","id":"associated-error-codes","depth":2},{"value":"Example response","id":"example-response","depth":2},{"value":"How to resolve","id":"how-to-resolve","depth":2}],"frontmatter":{"title":"Validation errors","description":"Request payload or parameter validation error","seo":{"title":"Validation error"}},"lastModified":"2026-03-26T15:14:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/errors/validation-error","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}