Contentful logo

Contentful Community

Fields on assets vary resulting in validation errors on import

Using the import and export tools, the import fails on some assets due to a validation error “message”: ““url” is required”. Why does the “file” field for assets sometimes include the property “upload” and sometimes “url”?

Hi @lisa.choy,

Is it possible that you have empty assets in your source space (no file uploaded on them)? If so, it shouldn’t be possible to import them at the moment, and you’d have to programmatically delete them in this case.