Here is my query:
{location(name:“AK03101”){data {name id}}}
Here is the result:
{“data”:{“location”:{“request_id”:“64cc54242637419180e9c150”,“data”:null}},“extensions”:{“throttling”:{“estimated_complexity”:2,“cost”:1,“cost_detail”:{“location”:{“items_count”:0,“cost”:1,“total_cost”:1,“fields”:{}}},“user_quota”:{“credits_remaining”:1892,“max_available”:2002,“increment_rate”:30}}}}
I am using a 3PL parent API key. I have confirmed the location exists:
Why is the location query data returning null ?
Hey @bbarrett,
Thanks for reaching out!
I’ll look into this issue and update you shortly.
Best,
RayanP
Thanks Rayan. Any update on this?
Hey @bbarrett,
Thanks for hanging in there!
I’ve gone ahead and made an Engineering Ticket regarding this issue. I did notice that I was able to query this location by ID instead as a temporary work around.
{
location(id:"7829680") {
request_id
complexity
data {
id
legacy_id
account_id
warehouse_id
}
}
}
I’ll update you here when a fix has been released for querying by name for this location.
Best,
RayanP
I need to query by name to get the id. So, I really need the location query by name to work as intended. It would appear that this same problem has been reported previously. Please encourage your team to provide a fix. It appears to be a bug.
1 Like