While trying to publish an entry, the error returned refers to a path that has en-US
in it, while I don’t have it activated, I only have one that’s the default: hu
.
Is it expected that I’d get en-US
in the error report even though it’s not present in the space, or could that be the reason I’m getting the error?
This is the node I have at the given path under the default language in the space (hu
, NOT en-US
):
{
"type": "break",
"position": {
"start": {
"line": 1,
"column": 22,
"offset": 21
},
"end": {
"line": 2,
"column": 1,
"offset": 24
},
"indent": [
1
]
}
}
This is the relevant part of the error report:
"details": "Value must be one of expected values",
"path": [
"fields",
"body",
"en-US",
"content",
0,
"content",
1
],
"value": {
"data": {},
"content": []
},
"expected": [
{
"$ref": "#/definitions/Inline"
},
{
"$ref": "#/definitions/Text"
}
]