# API errors: content and files

> Fields, content, brands and uploads.

Source: https://flow-marketing.org/en/help/api-errors-content · Question: What do validation_failed, content_rejected and upload_size mean?

For these errors the details field says which part does not fit.

| Term | Meaning |
| --- | --- |
| `validation_failed` | A field is missing or has the wrong type. |
| `pre_render_check_red` | The pre-render check is red, for example too much text for the length. |
| `content_rejected` | The content breaks our rules. |
| `foreign_brand` | A third-party brand without permission. Remove it or prove permission. |
| `consent_missing` | Consent is missing for a person’s voice or face. |
| `upload_type` | File type not allowed. |
| `upload_size` | File too big: images up to 15 MB, documents up to 50 MB. |
| `upload_virus` | Virus found – the file is not stored. |

## See also

- [All error codes with fixes](https://flow-marketing.org/en/help/api-error-codes)
- [Upload failed](https://flow-marketing.org/en/help/upload-failed)
