Error uploading files
Hey all, new to immich and trying to get things set up.
I cannot seem to upload files from my computer to my server running immich.
When I try the bulk upload CLI, I get
Error navigating to directory - check directory path
.
When I try to manually upload something, the console outputs and error: Uncaught (in promise) Object { message: "Request failed with status code 404", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…}, stack: "" }
Any advice on what I should try? It seems to work when I do it on my server or another computer9 Replies
What was the command you were using?
immich upload --key <redacted> --server http://192.168.2.43:2283/api -d C:\Users\Jacob\Downloads\Sam\takeout-20230116T203410Z-008\Takeout\Google Photos\Photos from 2022
I'd try wrapping the folder in quotes, since there is a space in it.
Seems to be working. Thank you 😄
Any idea for why I can't upload a file using the web interface?
maybe unsupported file?
Can you look in the network request tab in the console/dev tools and look at the response for the request?
I don't think I see anything in the network tab happend when I try to upload. The only thing that happens is the console outputs
fileUploadHandler
. I think the error I identified before was a 404 error for having no profile picture
Maybe? I'll try uploading it with the CLI to check
Yeah, upload worked with the CLIUpload should work with the web too.
Hmm, seems to be working now? Maybe the file directory had to be created first. Odd. Well anyway, thank you all for the help and quick responses 😄