Users are experiencing errors when updating collection images via the collectionUpdate GraphQL mutation. The error message returned is vague: {:src=>"Error updating collection with this image"}, making troubleshooting difficult.
Key observations:
Creating new collections with images (collectionCreate) works correctly
Updating collections that already have images fails with the error
If the existing image is manually deleted from Shopify Admin first, then the same update mutation succeeds
The image URLs are valid and publicly accessible
Attempted solutions:
Verifying image URL accessibility and file extensions (.jpg, .png)
Testing with different image hosting services
Confirming proper mutation syntax
Current status: The issue remains unresolved. Multiple users have confirmed the same behavior, suggesting a potential bug in the collectionUpdate mutation when replacing existing images rather than adding new ones.
Summarized with AI on November 5.
AI used: claude-sonnet-4-5-20250929.
The URL is an example; when the collection is newly created or an image is added to it, updating it works. However, when it already has an image, it fails.
This issue still persists. I can confirm the same behavior David originally described. collectionCreate with a given image URL works fine. collectionUpdate with the same image URL fails with the error message as follows:
{:src=>“Error updating collection with this image”}
If you manually delete the image in the Shopify Admin and run collectionUpdate again, it works fine.