Bug with Shopify createRefund Mutation?

sothychan
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?

Thanks,

Sothy

Replies 2 (2)
GrahamS
Shopify Staff
154 25 32

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.

Best,

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

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