# 401 Unauthorized on Tote Endpoint

**URL:** <https://community.shiphero.com/t/401-unauthorized-on-tote-endpoint/2398>\
**Category:** Devs Needed & Available\
**Created:** [March 10, 2023, 7:30pm UTC](https://community.shiphero.com/t/401-unauthorized-on-tote-endpoint/2398 "2023-03-10T19:30:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamjoh4](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@adamjoh4](https://community.shiphero.com/u/adamjoh4)\
**Post date:** [March 10, 2023, 7:30pm UTC](https://community.shiphero.com/t/401-unauthorized-on-tote-endpoint/2398/1 "2023-03-10T19:30:34Z")

</div>

I noticed that there is an endpoint not listed in the developer documentation online, but exists within the shiphero structure when looking at the documentation pulled from Altair. This is called tote(barcode). This specific endpoint perfectly fits my needs, and I’ve seen examples of it used in the community questions. However, when I try to use this query, it gives me back a 401 unauthorized request. Does anyone know why?

query {  
tote(barcode: “my barcode number here”)  
{  
request\_id  
complexity  
data {  
name  
orders {  
order\_number  
line\_items {  
edges {  
node {  
sku  
quantity  
tote\_picks {  
id  
}  
}  
}  
}  
}  
picks {  
id  
quantity  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [March 10, 2023, 9:00pm UTC](https://community.shiphero.com/t/401-unauthorized-on-tote-endpoint/2398/2 "2023-03-10T21:00:05Z")

</div>

Hey @adamjoh4,

Thanks for reaching out and welcome to our Developer Community!  
Looking into this issue now.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![adamjoh4](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@adamjoh4](https://community.shiphero.com/u/adamjoh4)\
**Post date:** [March 10, 2023, 9:44pm UTC](https://community.shiphero.com/t/401-unauthorized-on-tote-endpoint/2398/3 "2023-03-10T21:44:51Z")

</div>

Sorry! Let me find the way to close this request, I actually found out that I made a mistake prior to this step. It was all endpoints that were broken, not just this one. I fixed my bearer token and we were good to go.
