When I add an image asset by URL using the Ruby SDK, and then look at it in the media tab, there is no image but a spinner and a message “Cannot publish until processing has finished”.
Even leaving this for an hour does not change the situation.
If I manually upload the same image using the content management web UI, it processes within seconds. The Ruby code is as follows:
If I include a fileName property in the File, it processes just fine.
Perhaps it would be easier to find out what’s going on if the API server responded with a BadRequest when an image File is created without the fileName property?
The API should indeed return this message (“The property “fileName” is required here”), which is a 422 Unprocessable Entity error status and thus intrinsically distinct from a BadRequest one: