{"errors":"Not Found"} When cancelling the order through API

Shopify Partner
3 0 0

Hello everybody,


We are a solution provider company and some of our customers are receiving error when trying to cancel an order on Shopify through API. The error simply states that the order cannot be found on Shopify (even though the order is actually present on Shopify and there is nothing wrong with it).


The errors are attached as txt files below.

There is a similar post here: https://community.shopify.com/c/shopify-apis-and-sdks/cannot-cancel-order-with-api-with-order-id/m-p...

But there is no resolution or response over there.


Thanks in advance!

Replies 2 (2)
Shopify Partner
4 0 1


I've also encountered this problem. 
My assumption is that the order that you want to cancel is older than 60 days.

I literally have the same issue and it just works for orders that are newer than 60 days.
Please check this assumption.

You might want to add the `read_all_orders` scope for your app to access orders that are older than 60 days.

Have a nice day!

Shopify Partner
3 0 0

Thank you for the response!
We will check if this will help.