I
Immich3y ago
Jacob

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 computer
9 Replies
Alex Tran
Alex Tran3y ago
What was the command you were using?
Jacob
JacobOP3y ago
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
jrasm91
jrasm913y ago
I'd try wrapping the folder in quotes, since there is a space in it.
Jacob
JacobOP3y ago
Seems to be working. Thank you 😄 Any idea for why I can't upload a file using the web interface?
Alex Tran
Alex Tran3y ago
maybe unsupported file?
jrasm91
jrasm913y ago
Can you look in the network request tab in the console/dev tools and look at the response for the request?
Jacob
JacobOP3y ago
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 CLI
jrasm91
jrasm913y ago
Upload should work with the web too.
Jacob
JacobOP3y ago
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 😄

Did you find this page helpful?