API Key Error attempting to use CLI upload

immich upload --key <key> --server 192.168.1.114:2283/api --recursive /mnt/dataZFS/pictures --album results in the output: Checking connectivity with Immich instance... Server status: OK Checking credentials... Login status: OK Successful authentication for user <[email protected]> Error logging in - check api key If I type a deliberately incorrect API key, I get a different output (no "successful authentication" message): connectivity with Immich instance... Server status: OK Checking credentials... Error logging in - check api key Any idea what I am doing wrong that could cause this to fail even with a correct API key?
9 Replies
Alex Tran
Alex Tran2y ago
What is the versuon of your CLI? immich --version
Kristoffer
KristofferOP2y ago
~$ immich -V 0.40.2
Alex Tran
Alex Tran2y ago
Hmm interesting
Kristoffer
KristofferOP2y ago
server version is v1.67.2
Alex Tran
Alex Tran2y ago
Can you update your server to the latest version just in case please
Kristoffer
KristofferOP2y ago
on it ran: docker-compose down docker-compose pull docker-compose up -d Immich server now shows v1.71.0 CLI upload seems to be working now sorry to bother you with this lol
Alex Tran
Alex Tran2y ago
No problem man
Kristoffer
KristofferOP2y ago
you have a great product. Really appreciate all the effort from you and the team. Thanks again!
Alex Tran
Alex Tran2y ago
No problem Kristoffer, enjoy!

Did you find this page helpful?