404 errors for resources that exists

Tourist
4 0 1

We have been getting 404 errors from the API at least for ProductVariants that exists in the store. After I have seen in the logs that some 

/admin/variants/808950810.json

request has returned 404 and I try that url manually, it returns the variant normally. This has started recently(couple of weeks ago) and happens very randomly.

0 Likes
Highlighted
Shopify Partner
30 0 1

I have the same issue for /admin/orders/{orderid}.json.

For some orders I get 404 for some orders in my app or when I use postman, even though I can see the order for the orderid in the admin GUI. These orders fails consistently with postman, but I just tried pasting the url into the browser, and here it works, but it still fails in postman?

0 Likes
Tourist
4 0 1

Found out that it actually says in the documentation:
404 Not Found The requested resource was not found but could be available again in the future.

That is a bit problematic, because now we have to do retries for 404 responses, because we don't know if the resource is actually deleted or it is just temporarily unavailable.

0 Likes