Files created via fileCreate cannot be referenced in collectionCreate/collectionUpdate - invalid id

Calling fileCreate results in a global Shopify id value being returned for the file. However, when using the id value within the image field of the mutations collectionCreate and collectionUpdate, the error “invalid id” is returned.

Combined with the error {src=> “Error updating collection with this image”} described in the following two posts and there is simply no reliable way to update collection images via the Admin API.

https://community.shopify.com/post/2808265

https://community.shopify.com/post/2799746