A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello,
Our team is facing an issue having to do with uploading our item file after retrieving the staged link. We haven't had any problems for a while, but lately we've been getting a Bad Request with message: "Metadata part is too large". This has caused us to reduce our item loads repeatedly. With smaller loads starting to get uploaded successfully, but eventually after a while we get the same error again. Anyone have insight on what the issue is? It sounds like a Google Cloud Service Error that is being returned from Shopify.
Solved! Go to the solution
This is an accepted solution.
Unfortunately the solution provided below doesn't work for us, because we have always been providing a file name. As a workaround our team is just calling their single update instead of the bulk update.
Also just started facing this issue for larger files. I'll investigate and report back. The files api has been buggy since they switched from Amazon to Google.
I've decided to create my own Staged Upload system using google cloud storage directly. I think Shopify's api is still maturing for staged uploads and would prefer to have full control over that part of the experience. It's critical to my app and not being able to debug the errors is causing issues.
Hopefully it becomes documented soon and more stable.
Also receiving this error on a dataset the same size as ones uploaded in the last 2 weeks without issue.
Hello, this may be resolved by specifying a name for the file that you're sending.
See also:
Excellent - that fixed the issue for me
This is an accepted solution.
Unfortunately the solution provided below doesn't work for us, because we have always been providing a file name. As a workaround our team is just calling their single update instead of the bulk update.