# Device not visible in "Pending"

**URL:** <https://hub.mender.io/t/device-not-visible-in-pending/1439>\
**Category:** General Discussions\
**Created:** [January 14, 2020, 6:57pm UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439 "2020-01-14T18:57:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerrMuellerluedensch](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/herrmuellerluedensch/32/513_2.png) [@HerrMuellerluedensch](https://hub.mender.io/u/HerrMuellerluedensch)\
**Post date:** [January 14, 2020, 6:57pm UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/1 "2020-01-14T18:57:40Z")

</div>

Hi,  
I tested with the latest raspbian (2019-09-26). It builds and is being configured as expected. I also checked the mender configuration which seems alright including token and endpoint. Unfortunately, the device does not show up in my mender account. The device client continuously says:

```
Jan 14 18:56:00 raspberrypi mender[295]: time="2020-01-14T18:56:00Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" module=mender
Jan 14 18:56:30 raspberrypi mender[295]: time="2020-01-14T18:56:30Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" module=mender
Jan 14 18:56:30 raspberrypi mender[295]: time="2020-01-14T18:56:30Z" level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized" module=state

```

Any idea, how to fix this?  
Regards

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [January 14, 2020, 7:38pm UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/2 "2020-01-14T19:38:34Z")

</div>

Hello @HerrMuellerluedensch, welcome to Mender hub.

That error message is the normal first response when a device tries to connect. The normal behavior is that the device will show up in the pending tab and require an operator to admit the device to the fleet. Do you have any devices listed in the pending tab?

Drew

---

<div class="post-metadata">

**Author:** ![HerrMuellerluedensch](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/herrmuellerluedensch/32/513_2.png) [@HerrMuellerluedensch](https://hub.mender.io/u/HerrMuellerluedensch)\
**Post date:** [January 15, 2020, 6:52am UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/3 "2020-01-15T06:52:48Z")

</div>

Hi @drewmoseley  
Thanks for the quick reply. I was guessing so from the error message. Unfortunately, the device did not turn up in the pending tab after waiting for more than an hour or so.  
Marius

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [January 15, 2020, 10:03am UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/4 "2020-01-15T10:03:24Z")

</div>

Can you try running something like this:

```auto
MENDER_SERVER_URI='https://hosted.mender.io'

# Fill these in with your account information
MENDER_SERVER_USER=''
MENDER_SERVER_USER_PASSWORD=''

JWT=$(curl -X POST -u $MENDER_SERVER_USER:$MENDER_SERVER_USER_PASSWORD $MENDER_SERVER_URI/api/management/v1/useradm/auth/login)

curl \
    -H "Authorization: Bearer $JWT" \
    -H "Content-Type: application/json" \
    -X GET \
    ${MENDER_SERVER_URI}/api/management/v2/devauth/devices?status=pending | jq -r

```

---

<div class="post-metadata">

**Author:** ![HerrMuellerluedensch](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/herrmuellerluedensch/32/513_2.png) [@HerrMuellerluedensch](https://hub.mender.io/u/HerrMuellerluedensch)\
**Post date:** [January 15, 2020, 12:57pm UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/5 "2020-01-15T12:57:53Z")

</div>

Dear @mirzak

I went a little more into the details regarding identity and turned out that my testing device was assigned the same `Device ID` on each flash (inferred from the MAC address?) and I just had to decommission / override the acceptance of this device! 🤦‍♂️ Sorry for the confusion and thanks for your very fast replies!

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [January 15, 2020, 1:50pm UTC](https://hub.mender.io/t/device-not-visible-in-pending/1439/6 "2020-01-15T13:50:06Z")

</div>

No worries and thanks for reporting back.
