# Mender-cli artifacts list failing with JSON unmarshal error (Hosted Mender)

**URL:** <https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072>\
**Category:** General Discussions\
**Tags:** hosted-mender, mender-cli\
**Created:** [October 29, 2025, 12:24am UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072 "2025-10-29T00:24:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nomtor0204](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/nomtor0204/32/2355_2.png) [@nomtor0204](https://hub.mender.io/u/nomtor0204)\
**Post date:** [October 29, 2025, 12:24am UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072/1 "2025-10-29T00:24:49Z")

</div>

Hello,

We are using Hosted Mender.

A `mender-cli` command that runs in our daily CI/CD pipeline, which had been succeeding, has suddenly started to fail. This issue began approximately **around 2025-10-27 18:00 UTC**.

Here is the command and the error message we are receiving:

**Command:**

```bash
mender-cli artifacts list --server ${MENDER_SERVER_URI} --token-value ${PERSONAL_ACCESS_TOKEN}

```

**Error:**

```bash
FAILURE: json: cannot unmarshal object into Go struct field .updates.meta_data of type []interface {}

```

We have **not changed** the `mender-cli` tool, our authentication credentials (Personal Access Token), or the Mender server URL. Because of this, we suspect that the API response from the Hosted Mender server has changed, causing this client-side parsing error.

We are using `mender-cli` version **1.12.0** , obtained from: `https://downloads.mender.io/mender-cli/1.12.0/linux/mender-cli`

Could you please investigate if this is an issue with the `mender-cli` tool, or if there was a recent change in the Hosted Mender API response that would cause this unmarshaling error for version 1.12.0?

Thank you.

---

<div class="post-metadata">

**Author:** ![frodeha](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@frodeha](https://hub.mender.io/u/frodeha)\
**Post date:** [October 30, 2025, 12:52pm UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072/2 "2025-10-30T12:52:37Z")

</div>

Hi @nomtor0204!

Thanks for reaching out and alerting us to this issue.

We have investigated and found an issue in the latest version of hosted Mender that makes an API endpoint incompatible with this mender-cli command.

A fix is being implemented and we intend to release this to hosted Mender as soon as possible.

Thanks!

Best,  
Frode

---

<div class="post-metadata">

**Author:** ![frodeha](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@frodeha](https://hub.mender.io/u/frodeha)\
**Post date:** [November 4, 2025, 11:45am UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072/3 "2025-11-04T11:45:07Z")

</div>

Hi again @nomtor0204 ,

We have today deployed an update to hosted Mender that fixes this problem and your mender-cli command should be working as expected

Thanks!

Best,  
Frode

---

<div class="post-metadata">

**Author:** ![nomtor0204](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/nomtor0204/32/2355_2.png) [@nomtor0204](https://hub.mender.io/u/nomtor0204)\
**Post date:** [November 4, 2025, 11:48pm UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072/4 "2025-11-04T23:48:54Z")

</div>

Hi @frodeha,

Thank you for the updates and for deploying the fix so quickly.

I can confirm that our CI/CD pipeline ran successfully this morning, and the mender-cli command is working as expected again.

The issue is resolved. We really appreciate your prompt response and resolution.

Best regards,
