© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•11mo ago•
21 replies
caezar

TypeError: fetch failed on upload

I am trying to use the docker image
immich-cli
immich-cli
(v2.2.61) to upload files. It looks like I am able to connect to my server (v1.31.3) running on a local pi cluster. but I get an upload failure...
Crawling for assets...
Hashing files           | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Found 1 new files and 0 duplicates
Uploading assets | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/115.8 kB
Successfully uploaded 0 new assets (0 B)
Failed to upload 1 asset:
- /import/klingons.jpg - TypeError: fetch failed
Crawling for assets...
Hashing files           | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Checking for duplicates | ████████████████████████████████████████ | 100% | ETA: 0s | 1/1 assets
Found 1 new files and 0 duplicates
Uploading assets | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% | ETA: 0s | 0/115.8 kB
Successfully uploaded 0 new assets (0 B)
Failed to upload 1 asset:
- /import/klingons.jpg - TypeError: fetch failed


The logs say the following:
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor] GET /.well-known/immich 200 0.26ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~0ii0lsmj] GET /api/users/me 200 2.97ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~xc3ezc5m] GET /api/server/media-types 200 0.22ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~tpeutmqs] POST /api/assets/bulk-upload-check 200 2.04ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM VERBOSE [Api:LoggingInterceptor~tpeutmqs] {"assets":[{"id":"/import/klingons.jpg","checksum":"b94fefb2e95501ddcb7fc182f99048e1117a5eeb"}]}
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor] GET /.well-known/immich 200 0.26ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~0ii0lsmj] GET /api/users/me 200 2.97ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~xc3ezc5m] GET /api/server/media-types 200 0.22ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM   DEBUG [Api:LoggingInterceptor~tpeutmqs] POST /api/assets/bulk-upload-check 200 2.04ms 10.42.0.0
[Nest] 17  - 04/11/2025, 3:35:09 PM VERBOSE [Api:LoggingInterceptor~tpeutmqs] {"assets":[{"id":"/import/klingons.jpg","checksum":"b94fefb2e95501ddcb7fc182f99048e1117a5eeb"}]}


It doesn't matter the machine I use to run the container or the image folder.

Edited (added version numbers above).
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

Error on CLI import - TypeError: fetch failed
ImmichIImmich / help-desk-support
16mo ago
Upload failed?
ImmichIImmich / help-desk-support
3y ago
Failed to fetch ()
ImmichIImmich / help-desk-support
5mo ago
Failed to fetch ()
ImmichIImmich / help-desk-support
10mo ago