I am trying to use mender-cli to upload an artifact to the server ( https://eu.hosted.mender.io/) but always get the failure “Unauthorized. Please Login first”. Token is a freshly created PAT.
When testing with the docker container on my WSL it looks similar:
I have to enter my user credentials to get logged in… Do I miss something?
Thanks!
Nils
Thanks for reaching out! I tried to reproduce the problem, but only succeeded half:
the login command is not meant to be in conjunction with the PATS, it also falls to username and password for me. Guess the documentation should be clearer here.
the mender-cli artifacts upload using --server and --token-value flags worked nicely here.
The first thing to hit my mind, is there maybe some problem with shell expansions?