Some orders are not returning from the API

Shopify Partner
2 0 0

If I make an API call to the REST api to get an order


curl --request GET \
--url '' \
--header 'x-shopify-access-token: XYZ'

"orders": []

There are about 10-15 that we've found that fail to pull any results.

I can pull them up in Shopify directly. Even using .json in the URL. Works fine. But not through the API.

When I call the order directly using orders/{id}.json


curl --request GET \
--url \
--header 'x-shopify-access-token: xxx'


I get a 404 not found. Even though it very much is found on shopify itself.

I'm not sure what I'm missing, why these orders won't show up. They don't show up in any orders calls we make.