I'm training for the Document there to do an OCR of a form we have, I uploaded 20 documents and divided into 10 for training and 10 for training, but when I try to run for training, the error below is displayed, I could not identify what the error is if more documents are missing or if the dataset has a problem
"name": "projects/9633xxxxxx806/locations/us/operations/3248677626019472304",
"done": true,
"result": "error",
"response": {},
"metadata": {
"@type": "type.googleapis.com/google.cloud.documentai.uiv1beta3.TrainProcessorVersionMetadata",
"commonMetadata": {
"state": "FAILED",
"createTime": "2022-10-25T12:45:05.807461Z",
"updateTime": "2022-10-25T12:45:15.100246Z",
"resource": "projects/963xxxxxxxx06/locations/us/processors/3471d2dbcfe75a2a/processorVersions/2d159f16b0a66c53"
},
"trainingDatasetValidation": {
"documentErrors": [
{
"code": 3,
"message": "Invalid document.",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "INVALID_DOCUMENT",
"domain": "documentai.googleapis.com",
"metadata": {
"document": "5c7a8b0949921910.json",
"annotation_name": "telefone-contato-prestador",
"field_name": "entities.text_anchor.text_segments",
"num_fields_needed": "1",
"num_fields": "0"
}
}
]
},
```
I just pasted part of the error xml because it got big due to the large amount of fields, I would like some help to understand what the error is, what I have to do to correct it.