Bug with Shopify createRefund Mutation?

Shopify Partner
3 0 1

Sending the createRefund mutation to Shopify *sometimes* returns an error saying

"[{\"field\":null,\"message\":\"Reference can't be blank\"}]


Our users have also been reporting seeing this when they trigger a refund directly via the Shopify Admin UI.  Is there a known bug?



Replies 2 (2)
Shopify Staff (Retired)
Shopify Staff (Retired)
193 36 51

Hey @sothychan ,

Can you provide an x-request-id for one or some api calls that returned this specific error? We can take a look to see what might be happening.


Graham S | API Support @ 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

New Member
1 0 0

I just ran into the same issue with the REST API for create orders endpoint /orders/<orderId>/refunds.json . Here is the x-request-id: 71f83ee7-8bd3-4df6-b053-f5a1191b9220

Can you advise what the issue is?

Thanks so much in advance.