{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/it/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Errori di validazione"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"errori-di-validazione","__idx":0},"children":["Errori di validazione"]},{"$$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":["Questo errore viene restituito quando il payload della richiesta o i suoi parametri non superano la validazione. Le cause più comuni sono: campi obbligatori mancanti, valori con formato non valido, risorse referenziate inesistenti o vincoli di business non rispettati."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"codici-errore-associati","__idx":1},"children":["Codici errore associati"]},{"$$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":"Messaggio"},"children":["Messaggio"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Causa"},"children":["Causa"]}]}]},{"$$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":["Body JSON non parsabile o struttura non conforme allo 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":["Campo obbligatorio mancante (es. ",{"$$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"]}," non corrisponde a nessun 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":["I valori in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow_data"]}," non rispettano lo schema del flow template"]}]},{"$$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":["I valori in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sign_data"]}," non rispettano lo schema del flow template"]}]},{"$$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":["L'allegato è già associato a un 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":["Configurazione interna del template non valida"]}]},{"$$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":["Saldo crediti insufficiente per completare l'operazione"]}]},{"$$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"]}," non ha allegati associati"]}]},{"$$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":["L'",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upload_session_token"]}," è già stato usato per creare una certificazione"]}]},{"$$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":["Alcuni file registrati non sono stati caricati prima della creazione"]}]},{"$$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":["Il True Link è già stato consumato"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"esempio-di-risposta","__idx":2},"children":["Esempio di risposta"]},{"$$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":"come-risolvere","__idx":3},"children":["Come risolvere"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Controlla il campo ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["detail"]}]}," per capire quale campo o vincolo ha fallito la validazione."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Usa il ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}]}," per identificare la categoria di errore nella tabella sopra."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verifica il payload della richiesta rispetto allo schema documentato nella ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/it/openapi"},"children":["specifica OpenAPI"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Per ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TS-008"]}," (crediti insufficienti): controlla il saldo con ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/credits"]},"."]}]}]},"headings":[{"value":"Errori di validazione","id":"errori-di-validazione","depth":1},{"value":"Codici errore associati","id":"codici-errore-associati","depth":2},{"value":"Esempio di risposta","id":"esempio-di-risposta","depth":2},{"value":"Come risolvere","id":"come-risolvere","depth":2}],"frontmatter":{"title":"Errori di validazione","description":"Errore di validazione del payload o dei parametri della richiesta","seo":{"title":"Errori di validazione"}},"lastModified":"2026-03-26T15:14:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/it/errors/validation-error","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}