# Raspberry Pi 4 Model B Authorize failed

**URL:** <https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169>\
**Category:** General Discussions\
**Created:** [February 3, 2021, 3:00am UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169 "2021-02-03T03:00:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cppcoder3](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cppcoder3/32/1034_2.png) [@cppcoder3](https://hub.mender.io/u/cppcoder3)\
**Post date:** [February 3, 2021, 3:00am UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/1 "2021-02-03T03:00:19Z")

</div>

Hi

When I deploy according to the documentation([docs.mender.io](https://docs.mender.io/get-started/preparation/prepare-a-raspberry-pi-device)), an error occurs,I don’t see my device in pending，  
My device is Raspberry Pi 4 Model B

The error is as follows：

```
pi@raspberrypi:~ $ journalctl -fu mender-client
-- Logs begin at Wed 2021-02-03 02:17:01 GMT. --
Feb 03 02:36:31 raspberrypi mender[555]: time="2021-02-03T02:36:31Z" level=info msg="State transition: init [none] -> idle [Idle]"
Feb 03 02:36:31 raspberrypi mender[555]: time="2021-02-03T02:36:31Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]"
Feb 03 02:36:31 raspberrypi mender[555]: time="2021-02-03T02:36:31Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
Feb 03 02:36:32 raspberrypi mender[555]: time="2021-02-03T02:36:32Z" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"

```

I need your help, thank you.

---

<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:** [February 3, 2021, 4:38pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/2 "2021-02-03T16:38:47Z")

</div>

Hi @cppcoder3 this message is normal for devices that go into the pending state. My guess is that you have a typo in the tenant token since you cannot see this device in pending. The other possibility is that the device is in the rejected tab.  
Drew

---

<div class="post-metadata">

**Author:** ![cppcoder3](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cppcoder3/32/1034_2.png) [@cppcoder3](https://hub.mender.io/u/cppcoder3)\
**Post date:** [February 4, 2021, 1:05pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/3 "2021-02-04T13:05:03Z")

</div>

Hi, I checked my tenant token and rejected tab, there is no problem，Is there any other reason for this。

---

<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:** [February 4, 2021, 1:54pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/4 "2021-02-04T13:54:14Z")

</div>

Well it seems to be talking to a Mender server somewhere and getting an appropriate API response. What server are you using? What is the value of [ServerURL](https://docs.mender.io/client-installation/configuration-file/configuration-options#serverurl)?

Drew

---

<div class="post-metadata">

**Author:** ![cppcoder3](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cppcoder3/32/1034_2.png) [@cppcoder3](https://hub.mender.io/u/cppcoder3)\
**Post date:** [February 4, 2021, 2:46pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/5 "2021-02-04T14:46:52Z")

</div>

“ServerUrl”: “[https://hosted.mender.io](https://hosted.mender.io)”, I am using the Raspberry Pi OS demo mode, and I want to understand the mender.

---

<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:** [February 4, 2021, 4:39pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/6 "2021-02-04T16:39:55Z")

</div>

Hmm. That all looks correct to me. @peter can you help any further? Can we check the backend logs to see if this device is connecting?  
Drew

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [February 9, 2021, 12:44pm UTC](https://hub.mender.io/t/raspberry-pi-4-model-b-authorize-failed/3169/7 "2021-02-09T12:44:56Z")

</div>

The `deviceauth` service logs would be handy I think 🙂
