Bulk Upload Login Not Working

I'm trying to bulk upload to Immich that's running on docker with this command: sudo docker run --network immich-app_default -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --key 1234567890 --server http://immich-server:3001 This is 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
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
I've verified the key and network are correct. Why can't it login?
8 Replies
Alex Tran
Alex Tran2y ago
Can you create a new key and try again?
MrMetacom
MrMetacomOP2y ago
Did that, still didn’t work
Alex Tran
Alex Tran2y ago
Hmm pretty strange Can you try to install npm/node and install the CLI as a standalone binary?
jrasm91
jrasm912y ago
No description
jrasm91
jrasm912y ago
This is very strange because it is somehow logging those two lines Nevermind, the error message for the media-types is "check api key" 😆
jrasm91
jrasm912y ago
No description
jrasm91
jrasm912y ago
I think the issue is the cli assumes the server has the media-types endpoint. This version of the cli requires the latest server to work.
MrMetacom
MrMetacomOP2y ago
My server is a few updates behind. Let me update and see if it works.

Did you find this page helpful?