A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I have about 500 delivery profiles that I can't update. Attempting to delete the location group gives me:
[{"message":"Timeout","extensions":{"code":"TIMEOUT"}}]
Granted these location groups are pretty big, but there doesn't seem to be any way of deleting them piecemeal. So I appear to be stuck with un-deletable profiles.
My mutation is simple:
{
"query": "mutation ($id: ID!, $profile: DeliveryProfileInput!) {\n deliveryProfileUpdate(id: $id, profile: $profile) {\n profile {\n id\n }\n userErrors {\n field\n message\n }\n }\n}\n",
"variables": {
"id": "gid://shopify/DeliveryProfile/78141128861",
"profile": {
"locationGroupsToDelete": [
"gid://shopify/DeliveryLocationGroup/79394046109"
]
}
}
}
How can I delete these and move forward?
Hey @stickfigure
Would you mind sending me through the request_id from the timeout if you had it, I can take a look into this - thanks!
I found the ZonesToDelete collection on DeliveryProfileInput which allowed me to delete everything piecemeal. My queues have been cleaned out and I don't have an easy test case anymore. Unfortunately I was not logging the request ids.
So I guess you can call this "closed".
Hi @stickfigure
Thanks for letting us know, and I'm glad that you were able to get everything cleared out. Just to follow up - how large were your location groups? I'd like to do some testing on our end to see if I can re-produce the issue you experienced
To learn more visit the Shopify Help Center or the Community Blog.