dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Immich import fails with 403 forbidden

Open pSub opened this issue 4 months ago • 1 comments

OS & Hardware NixOS 25.05

Version 0.30.12

Describe the bug Immich import fails with 403 forbidden despite having a valid Immich API token with permissions asset.read.

To Reproduce Steps to reproduce the behavior:

  1. Set Immich API key in settings
  2. Start Immich import
  3. Observe that nothing happens on webinterface
  4. Find the 403 in the logs

Expected behavior Immich import is successful.

Screenshots If applicable, add screenshots to help explain your problem.

Logs

dawarich_sidekiq  | I, [2025-09-04T12:06:09.405372 #8]  INFO -- : /var/app/app/services/immich/request_photos.rb:32:in 'JSON.parse': Empty input (after ) at line 1, column 1 [parse.c:1 (JSON::ParserError)
dawarich_sidekiq  | <head><title>403 Forbidden</title></head>
dawarich_sidekiq  | <body>
dawarich_sidekiq  | <center><h1>403 Forbidden</h1></center>
dawarich_sidekiq  | <hr><center>nginx</center>
dawarich_sidekiq  | </body>
dawarich_sidekiq  | </html>
dawarich_sidekiq  | 
dawarich_sidekiq  | 	from /var/app/app/services/immich/request_photos.rb:32:in 'Immich::RequestPhotos#retrieve_immich_data'
dawarich_sidekiq  | 	from /var/app/app/services/immich/request_photos.rb:18:in 'Immich::RequestPhotos#call'
dawarich_sidekiq  | 	from /var/app/app/services/immich/import_geodata.rb:35:in 'Immich::ImportGeodata#retrieve_immich_data'
dawarich_sidekiq  | 	from /var/app/app/services/immich/import_geodata.rb:13:in 'Immich::ImportGeodata#call'
dawarich_sidekiq  | 	from /var/app/app/jobs/import/immich_geodata_job.rb:9:in 'Import::ImmichGeodataJob#perform'

pSub avatar Sep 04 '25 12:09 pSub

I am experiencing the same issue. I can't seem to find out why.

BrammyS avatar Sep 09 '25 08:09 BrammyS