[
{
"message": "Validation failed",
"details": [
{
"property": "data.slices.0.primary.secondary_link",
"value": {
"link_type": "Any",
},
"error": "This link field is not configured to be repeatable. Either change the configuration or provide a single link."
},
{
"property": "data.slices.10.primary.title.0.type",
"value": "heading3",
"error": "The block type 'heading3' is not allowed in your document type. Enable the type for this rich text field to create the document."
}
]
}
]
initially secondary_link “repeat”: false , same as “data.slices.10.primary.title.0.type” , so plugin is changing the structure of Prismic document
How this can be fixed ?
The errors you are seeing (“Validation failed”) are coming directly from Prismic because the data Crowdin is trying to save back does not match the strict constraints set in your Prismic Custom Types.
Here is why this is happening and how to fix it:
Error: “The block type ‘heading3’ is not allowed.” This happens because the specific Rich Text field (title) in your Prismic model is configured to allow only specific tags (likely just h1, paragraph, etc.), but the content coming from Crowdin contains an <h3> tag.
Fix: You need to update your Custom Type in Prismic (Slice Machine). Go to the “title” field settings and check the box to enable “Heading 3”.
Fix alternative: If you do not want H3s, check the translation in Crowdin. The translator might have applied H3 formatting to the text. Removing that formatting tag in the Crowdin Editor will resolve the error.
Error: “Link field is not configured to be repeatable.” This indicates that the Content Model (Schema) cached in Crowdin is out of sync with your actual Prismic structure. If Crowdin “thinks” a field is a list (repeatable), but Prismic expects a single object, the sync will fail.
Fix: Open the Prismic Integration settings in Crowdin. Look for an option to “Sync Content Models” or “Update Schema”. This forces Crowdin to re-fetch the latest structure definitions from Prismic to ensure it constructs the JSON correctly.
Once you have updated the Custom Type settings in Prismic (to allow H3) and refreshed the schema in the Crowdin integration, please try the sync again.
If none of the above help, please reach out to our support team (support@crowdin.com) for further assistance. They will be able to check more details and say what exactly should be done here
Can you please check the Plugin, because I cant find any fix you mentioned:
Indeed we don’t want to change our content model ( allowing H3 , this will affect UI ).
I didn’t find how translator can edit tag of text , It is not possible to change it , and errors appears in the fields which wasn’t even translated as I was testing by translating only 1 field that error appears for other fields
Also error with repeatable appeared on blank field which wasn’t even filled in origin language so I couldn’t find it in the translator editor
And unfortunately there very few options in the prismic integration setting
Only “Add translations that are the same as the source text” was looking somehow related to this but enabling didn’t help
Any other ideas ?
thank you
To investigate this further and identify a specific fix, could you please send an email to support@crowdin.com?
In your message, please include links (string URLs) to the specific strings for which these errors are occurring. Having direct examples will allow our technical team to reproduce the issue and look for a solution that doesn’t require changing your UI.