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 username@email.com
Error logging in - check api key

I've verified the key and network are correct. Why can't it login?
Was this page helpful?