We want to run a query every 15 minutes to check on the recent packs and ensure items were all scanned.
But looking at the response of packs_per_day with date_from and date_to filter, it is returning results 5 hours and 51 minutes ahead.
and the results included “order_number”: “002183194” which seems to be spot-on for the results. I am not too sure why May is giving you problems, and it would be very difficult to go back that far. Do you have a recent example of the same issue?
the inconsistency of user details in the response of Shiphero API, there are some user’s data that will be available in the API response, but the same user information itself is not present on the Shiphero platform screen. The same happens vice versa, user packer logs are not present in API response while it’s available on the screen.
for example,
if you check the logs from API response for April 6th and July 8th: Tekita Williams, this user is not available on the ShipHero screen but API fetched picker logs for him/her.
27-5-2021 12:38 pm CST in screen, Nate Reynolds packer log not available in Shiphero API response.
the above is only what we have caught, but there may exist more such inconsistencies.
@Theresa
I’m now seeing something similar to the original issue.
If I run @supritha’s original query with dates of 2021-09-14T14:00:00.000Z through 2021-09-14T19:00:00.000Z. I get 13 results, so a little over 400 missing. Our peoples’ reviews & bonuses depend on this API. Those date strings are 8601-compliant.
The request_id for that was 6140f6de17f3bdf17b489512
We tried to get the result using the below-mentioned query. But it is returning results 5 hours ahead. It seems like we need to pass CST to get the result in UTC.
Which timezone do we need to pass in the query ( UTC or CST)?
We are at 13 days where our warehouse kpi/bonus system has been shut down due to being unable to retrieve accurate results from packs_per_day queries with date filters.
Can you provide any update on this? As it stands now, I don’t even know if this has been triaged. Can you confirm that the returns from this query are indeed unexpected/inaccurate?
Hi @askthebird, I just ran the same query on your account and got the first 100. This is the result of request-id 6140f6de17f3bdf17b489512. The only thing that I did differently was to add the dates of the variables instead of variables. Could it be there was some type of error in the variables? This is what I ran.
Hi @Theresa
That example query you provided does indeed return results for me now. In fact, all of my time-filtered queries seem to return results as expected some hours after the time windows have passed.
If I query more recent data, the results are almost always empty.
Example:
That time window is meant to represent fulfillment creations between 13:59:59 and 14:30:00 US Central time. During this time window, a significant amount of bulk & regular shipping was being performed.
If I omit the UTC/zulu specification and convert it to local (Central) time, I get the results I expected. Has something changed with your datetime requirements? This format (JS Date.toISOString) had previously been in use for many months without issue.
Thank you for the details. There may very well be something that needs attention or has been changed. I have a few posts where the time is sometimes returning unexpected results.