Covers all questions related to inventory management, order fulfillment, and shipping.
I am running the following request
mutation deliveryProfileRemove($id: ID!) { deliveryProfileRemove(id: $id) { userErrors { field message } }
With
{"id":"gid: //shopify/DeliveryProfile/113523523873"}
And the API returns
{ "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: f5ac534d-21b8-4e60-8ef3-3d5a4508def7 (include this in support requests).", "extensions": { "code": "INTERNAL_SERVER_ERROR", "requestId": "f5ac534d-21b8-4e60-8ef3-3d5a4508def7" } }
Note that in the end the deliveryProfile was not removed.
Sometimes the endpoints work. Here it failed multiple times in a row.
Are you able to investigate this issue? Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey @edweis
Thanks for the request ID. Looks like that delivery profile was already removed (about 30 seconds before your mutation came through). We should improve our error handling around this one - I'll forward your example to the delivery folks.
Scott | Developer Advocate @ Shopify
Hi Edweis,
If you have access to the server logs, check them for any further details about what might be causing the error.
Another thing to check would be to ensure the ID you are using to remove the delivery profile is valid and see that you're not exceeding Shopify's API rate limits.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @edweis
Thanks for the request ID. Looks like that delivery profile was already removed (about 30 seconds before your mutation came through). We should improve our error handling around this one - I'll forward your example to the delivery folks.
Scott | Developer Advocate @ Shopify
Thank you! I checked it was indeed the case.