Error getting orders on a specific date (500 error)

Tourist
5 0 1

Our application has been exporting data in much the same way for a while, but we recently started seeing 500 errors on specific dates.

 

When diving into it, making the query as lean as possible, I realized there is one day returning no data for that customer for much of the day, but if I ask data for the whole day I will get a 500 error each time

 

query {
  orders(query: "created_at:>=2018-05-28T00:00:00Z created_at:<2018-05-29T00:00:00Z",first: 1) {
    pageInfo {
      hasNextPage
      hasPreviousPage
    }
    edges {
      cursor
      node {
        id
        createdAt
      }
    }
  }
}
{
    "errors": [
        {
            "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 84832cc7-2c6f-4376-b0be-4a6d04a99568 (include this in support requests).",
            "extensions": {
                "code": "INTERNAL_SERVER_ERROR",
                "requestId": "84832cc7-2c6f-4376-b0be-4a6d04a99568"
            }
        }
    ]
}

Thanks for your help!

0 Likes