# Error message not clear enough in \`mender-cli artifacts upload\`

**URL:** <https://hub.mender.io/t/error-message-not-clear-enough-in-mender-cli-artifacts-upload/6295>\
**Category:** General Discussions\
**Created:** [October 24, 2023, 12:07pm UTC](https://hub.mender.io/t/error-message-not-clear-enough-in-mender-cli-artifacts-upload/6295 "2023-10-24T12:07:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel\_vps](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manuel\_vps](https://hub.mender.io/u/manuel_vps)\
**Post date:** [October 24, 2023, 12:07pm UTC](https://hub.mender.io/t/error-message-not-clear-enough-in-mender-cli-artifacts-upload/6295/1 "2023-10-24T12:07:44Z")

</div>

Hi all,

we’re using `mender-cli artifacts upload` from `mendersoftware/mender-ci-tools:1.0.0`. When uploading an artifact that has same `<mender-artifact>.tar.gz/header.tar.gz/artifact-info` as an existing image, it will just tell

> FAILURE: artifact upload to ‘[hosted.mender.io](http://hosted.mender.io)’ failed with status 409

Only when uploading the artifact through the webinterface at [hosted.mender.io](http://hosted.mender.io), one will get a helpful error message being “Artifact with same name or depends exists already”.

Please update the CLI tool to also provide this error message.

Thanks

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [October 26, 2023, 3:50pm UTC](https://hub.mender.io/t/error-message-not-clear-enough-in-mender-cli-artifacts-upload/6295/2 "2023-10-26T15:50:16Z")

</div>

Hello @manuel_vps,

Thanks for your inputs, I already created a PR for that.

> <https://github.com/mendersoftware/mender-cli/pull/226/files>
>
> Proposed by the community from
> https://hub.mender.io/t/error-message-not-clear-…enough-in-mender-cli-artifacts-upload
> 
> Changelog: Title
> Ticket: None

As a side comment, I encourage you to submit PRs to any Mender repository if that is easy to you.

Have a great day and thanks again for helping Mender become a better product.

Luis
