There was an error with the file in gathercontent module of Drupal I am importing content from gathercontent platform using the GatherContent module.

All the fields get populated except media type which gives a warning that states :

"There was an error with the file"


Any ideas what might be causing this?
It might well be that your problem is caused by what is described in issue 1908144.

That issue also mentions CURL (as in the comment to your question).

Curious to hear if this somehow helps ...