#3740·dawarich

Archived Immich photos still appear on map despite restricted API key permissions

Author: jdva12Created Sep 25, 2026Updated Sep 27, 2026

OS & Hardware ProxMox, Docker, Debian 12

Version 1.15.2

Describe the bug Photos archived in Immich still appear on the Dawarich map / trips, even though the Immich API key used by Dawarich does not have the archive.read permission — only asset.read and asset.view are granted.

This persists after:

  • Disconnecting and reconnecting the Immich integration
  • Refreshing the photo cache

To Reproduce

  1. In Immich, archive a photo that has GPS metadata
  2. In Dawarich, use an Immich API key with only asset.read + asset.view (no archive.read)
  3. Open the map or a trip covering the date the photo was taken
  4. The archived photo still appears

Expected behavior Archived Immich assets should not appear on the Dawarich map/trips when the integration's API key lacks archive.read, or Dawarich's request to POST /api/search/metadata should explicitly filter out archived assets (e.g. isArchived: false) regardless of key permissions.

Additional context Per Immich's permission model, asset.read alone grants access to the search endpoints (search/metadata, search/random, search/smart), independent of archive.read. So restricting the API key does not filter archived items out of Dawarich's photo layer — the filtering would need to happen in the request body Dawarich sends to Immich.