Timeout when deleting a delivery profile location group

Shopify Partner
37 2 5

I have about 500 delivery profiles that I can't update. Attempting to delete the location group gives me:


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": [




How can I delete these and move forward?


Replies 3 (3)

Shopify Staff
402 66 100

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!

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

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".

Shopify Staff (Retired)
267 40 51

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.