Hey guys, I am trying to create a structured text record with an inlineItem reference
Using the Content Managment API but I really don’t get it.
The documentation only reference to block references but not for inlineItems (links).
I’m trying to pass the inlineItem directly as says Structured Text and Dast format — DatoCMS
{
"type": "inlineItem",
"item": record.id
},
but I’m getting a 422 Unprocessable Entity Error
Error: POST https://site-api.datocms.com/items: 422 Unprocessable Entity
[
{
"id": "e2a0f0",
"type": "api_error",
"attributes": {
"code": "INVALID_FIELD",
"details": {
"field": "content",
"field_id": "3850019",
"field_label": "Content",
"field_type": "structured_text",
"errors": [
"#/children/2: failed schema #/definitions/Root/properties/children/items: No subschema in \"anyOf\" matched."
],
"code": "INVALID_FORMAT",
"message": "Value not acceptable for this field type",
Any Ideas? I don’t know if Content Managment API allow migrations with inlineItems or I’m doing it wrong.
Thanks!