# Authentication request rejected server error message: dev auth: un authorized

**URL:** <https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644>\
**Category:** General Discussions\
**Created:** [May 30, 2019, 7:45am UTC](https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644 "2019-05-30T07:45:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 30, 2019, 7:45am UTC](https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644/1 "2019-05-30T07:45:21Z")

</div>

Hi,

I’m working on project basically convert existing LFS (LinuxFromScratch) mender build which is running in production to yocto based. I’ve created signed artifact upload to hosted mender server where device with “old firmware” was already authorized. After update when system boot from “yocto” build update cannot be finished due errors like:

```auto
May 29 20:18:23 orange-pi-pc-plus mender[420]: time="2019-05-29T20:18:23Z" level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: un
authorized" module=state
May 29 20:18:23 orange-pi-pc-plus mender[420]: time="2019-05-29T20:18:23Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" module=mender

```

and it try after few minutes but it never succeed. Any ideas how to debug that why server reject authorize new build? Thanks a lot.

---

<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:** [May 30, 2019, 9:48am UTC](https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644/2 "2019-05-30T09:48:42Z")

</div>

This sounds like the device identity changes, I would check what the /usr/share/mender/identify/device-identity script returns before and after update,

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 30, 2019, 10:52am UTC](https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644/3 "2019-05-30T10:52:01Z")

</div>

> [@mirzak](#):
>
> /usr/share/mender/identify/device-

Thanks. Old version return some other data like updated one. But still when adding exact same lines still have an issue.

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 30, 2019, 11:06am UTC](https://hub.mender.io/t/authentication-request-rejected-server-error-message-dev-auth-un-authorized/644/4 "2019-05-30T11:06:56Z")

</div>

Ok it looks like I need to accept then device again and everything is fine then. Thanks a lot.
