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
What is the versuon of your CLI?
immich --version
~$ immich -V
0.40.2
Hmm interesting
server version is v1.67.2
Can you update your server to the latest version just in case please
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
No problem man
you have a great product. Really appreciate all the effort from you and the team. Thanks again!
No problem Kristoffer, enjoy!