# Issue with mender setup on Microchip SAMA5D3

**URL:** <https://hub.mender.io/t/issue-with-mender-setup-on-microchip-sama5d3/2337>\
**Category:** General Discussions\
**Created:** [August 20, 2020, 12:39pm UTC](https://hub.mender.io/t/issue-with-mender-setup-on-microchip-sama5d3/2337 "2020-08-20T12:39:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trexde](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@trexde](https://hub.mender.io/u/trexde)\
**Post date:** [August 20, 2020, 12:39pm UTC](https://hub.mender.io/t/issue-with-mender-setup-on-microchip-sama5d3/2337/1 "2020-08-20T12:39:15Z")

</div>

Hi,

I integrated mender into the Microchip Yocto project for SAMA5D3 (dunfell). While creating mender hosted setup, it asks for hosted mender credentials. After entering mender userid and password, I get the following response:

```
Enter a name for the device type (e.g. raspberrypi3): [sama5d3-xplained] sama5d3

Are you connecting this device to hosted.mender.io? [Y/n] Y
Enter your credentials for hosted.mender.io
Email: xxxx.yyyyyy@zzz.com (hidden for security purpose)
Password: 
ERRO[0219] Error parsing JSON response.: json: cannot unmarshal object into Go value of type string 
root@sama5d3-xplained:~# 

```

What could be the issue?

---

<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:** [August 20, 2020, 12:42pm UTC](https://hub.mender.io/t/issue-with-mender-setup-on-microchip-sama5d3/2337/2 "2020-08-20T12:42:27Z")

</div>

Unclear, Did you just run `mender setup` to reproduce this?.

Also since you seem to be using Yocto you can just put the following in e.g `local.conf`:

```auto
# To get your tenant token:
# - log in to https://hosted.mender.io
# - click your email at the top right and then "My organization"
# - press the "COPY TO CLIPBOARD"
# - assign content of clipboard to MENDER_TENANT_TOKEN
#
MENDER_SERVER_URL = "https://hosted.mender.io"
MENDER_TENANT_TOKEN = "<copy token here>"

```
