Older orders do not get returned on orders graphql query

Using this query, I’m only getting orders from recent months. When I try to search for orders created in January of 2025, I’m getting no data returned. The only thing that changes is the date and I specify the date as 2025-01-16T00:00:00Z and 2025-01-16T23:59:59Z.

        let query = `{
            orders(first: 250, query:"created_at:>=${start} AND created_at:<${end}, delivery_method:shipping") {
                edges {
                    node { id }
                    cursor
                }
                pageInfo {
                    hasNextPage
                }
            }
        }`;

you need to request access in the partner dashboard for order over 60 days

In your Shopify partner ,navigate to your app and request access explicitly :