# Device API Authentication request for receving JWT token always throwing 401 error

**URL:** <https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442>\
**Category:** General Discussions\
**Tags:** api, management-api\
**Created:** [January 8, 2024, 5:29am UTC](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442 "2024-01-08T05:29:47Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![vimoxshah](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/vimoxshah/32/2406_2.png) [@vimoxshah](https://hub.mender.io/u/vimoxshah)\
**Post date:** [January 11, 2024, 1:39pm UTC](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442/21 "2024-01-11T13:39:42Z")

</div>

I am using hosted mender. API is working fine now. Many thanks for your help.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [January 11, 2024, 1:41pm UTC](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442/22 "2024-01-11T13:41:07Z")

</div>

Glad to hear! @vimoxshah

So should I mark this as solved? Out of curiosity, what was the actual problem, so others can also find the solution?

Greets,  
Josef

---

<div class="post-metadata">

**Author:** ![vimoxshah](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/vimoxshah/32/2406_2.png) [@vimoxshah](https://hub.mender.io/u/vimoxshah)\
**Post date:** [January 11, 2024, 1:45pm UTC](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442/23 "2024-01-11T13:45:39Z")

</div>

I did not find inventory filter & search api easily. I was looking device identity api.

Yes you can mark it as resolved. Thanks for your help

[Previous page](https://hub.mender.io/t/device-api-authentication-request-for-receving-jwt-token-always-throwing-401-error/6442.md?page=1)
