Error upon stacking partner photos #2759

Closed
opened 2026-02-05 06:59:24 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Funk66 on GitHub (Apr 5, 2024).

The bug

The server returns an error with status code 400 when attempting to stack photos shared via "partner sharing'. I haven't looked into it, but this is most probably caused by the fact that the user calling handleStack doesn't have permission to edit assets owned by another. A simple fix would be adding better error handling to return a more informative error message. A broader question is whether users should be able to stack shared photos independently from one another.

The OS that Immich Server is running on

Raspbian

Version of Immich Server

v1.101.0

Version of Immich Mobile App

v1.101.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Same as docker-compose.prod.yml

Your .env content

Default

Reproduction steps

1. Enable partner sharing from account A
2. Select and stack photos from the timeline page using account B
3. The stack operation fails

Additional information

No response

Originally created by @Funk66 on GitHub (Apr 5, 2024). ### The bug The server returns an error with status code 400 when attempting to stack photos shared via "partner sharing'. I haven't looked into it, but this is most probably caused by the fact that the user calling `handleStack` doesn't have permission to edit assets owned by another. A simple fix would be adding better error handling to return a more informative error message. A broader question is whether users should be able to stack shared photos independently from one another. ### The OS that Immich Server is running on Raspbian ### Version of Immich Server v1.101.0 ### Version of Immich Mobile App v1.101.0 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Same as docker-compose.prod.yml ``` ### Your .env content ```Shell Default ``` ### Reproduction steps ```bash 1. Enable partner sharing from account A 2. Select and stack photos from the timeline page using account B 3. The stack operation fails ``` ### Additional information _No response_
OVERLORD added the sharing label 2026-02-05 06:59:24 +03:00
Author
Owner

@jrasm91 commented on GitHub (Sep 12, 2024):

Closing in favor of #12614

@jrasm91 commented on GitHub (Sep 12, 2024): Closing in favor of #12614
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2759