I had this problem after migration from v3 to v4. In my case component with image field was not migrated. I had to change image field in component’s JSON file from
"image": {
"model": "file",
"via": "related",
"allowedTypes": [
"images"
],
"plugin": "upload",
"required": false,
"pluginOptions": {}
},
to
"image": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
},
and change component’s “name” field to “displayName”.
Then it worked well