© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
18 replies
Xho

Import CLI fail - libraryId must be ... [400]

hi - I could use some help...

am trying to run import CLI method
import is coming off a ssh mount (previously was successful with nfs mount)
EDIT: am using ssh key pair with NAS... wait a second --- do I actually need to generate keypair within the immich container? (am very novice at comprehension of docker)
(i am using ubuntuserv + casaos + portainer to install the stack)

currently main library is local at ~/immich-library/upload (777)
the mounted nas is at /mnt/nas/familyphotos (777)
whether I run in 'local' CLI or within the immich_server container, its the same result:

scans library gives y/n, processes all, and then a million errors of

* response: {
message: [
'libraryId must be a UUID',
'libraryId should not be empty',
'libraryId must be a string'
],
error: 'Bad Request',
statusCode: 400
}

*
I am not seeing any log entries in any of the immich containers.. I don't understand what is wrong with my 'libraryId".. pasted my .env as well...

any help here would be hot
image.png
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

CLI import
ImmichIImmich / help-desk-support
3y ago
CLI Import error
ImmichIImmich / help-desk-support
3y ago
CLI import Error
ImmichIImmich / help-desk-support
3y ago
Import photos via cli
ImmichIImmich / help-desk-support
8mo ago