Bulk Operation Mutation metafieldDelete not whitelisted error

hanks
Visitor
1 0 0

Hello,

 

Is there a reason the the metafieldDelete mutation isn't whitelisted?

 

I'm getting the following error:

 

{"original_hash":{"data":{"bulkOperationRunMutation":{"bulkOperation":null,"userErrors":[{"message":"Please pass a whitelisted mutation name","field":["mutation"]}]}},"extensions":{"cost":{"requestedQueryCost":10,"actualQueryCost":10,"throttleStatus":{"maximumAvailable":1000.0,"currentlyAvailable":990,"restoreRate":50.0}}}},"data":{"data":{"bulkOperationRunMutation":{"bulkOperation":null,"userErrors":[{"message":"Please pass a whitelisted mutation name","field":["mutation"]}]}},"casted_data":{},"errors":[]},"errors":[],"extensions":{"cost":{"requestedQueryCost":10,"actualQueryCost":10,"throttleStatus":{"maximumAvailable":1000.0,"currentlyAvailable":990,"restoreRate":50.0}}}}

Reply 1 (1)

Luke_K
Shopify Staff
402 66 98

Hey @hanks 

 

Sounds like you're aware, but yes  I can confirm that this response would be expected presently - only the mutations listed here are on the whitelist.  When it comes to what's on the list, we're considerate of the behaviour of the mutation and the impact it would have when on Shopify's platform when used in bulk, that provides the main rule of thumb and it's those considerations that are taken into account generally.

 

I've raised this internally today for our Product Teams attention, I do see the benefits of including MetafieldDelete. Thanks!


| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!