How should I handle an internal error in canceling the fulfillment API response

How should I handle an internal error in canceling the fulfillment API response

waroy
Visitor
1 0 0

curl -X POST \ https://88cd85.myshopify.com/admin/api/2024-07/graphql.json \ -H 'Content-Type: application/json' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d '{ "query": "mutation fulfillmentCancel($id: ID!) { fulfillmentCancel(id: $id) { fulfillment { id status } userErrors { field message } } }", "variables": { "id": "gid://shopify/Fulfillment/5483563549000" } }'

 

Response:       

 

{"errors":[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: 25e89808-c95b-48c7-b9e9-2f2203a94d82-1718347246 (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":"25e89808-c95b-48c7-b9e9-2f2203a94d82-1718347246"}}]}

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 501

Hi @waroy,

 

The best way to move forward with internal server errors is to first retry the request, and if it keeps happening reach out to Support with the request ID, the date, time and timezone, and a description of what was being done. 

When reaching out to Support it can be helpful to do so from an account that has staff access to the store the API calls are being made on to enable discussing store-specific details.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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