Return 404 on non-existing paths #2783

Closed
opened 2026-02-05 07:02:48 +03:00 by OVERLORD · 0 comments
Owner

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

The bug

Immich shows a server error (500) with no information (defaults to 'Hmm, not sure about that. Check the logs or open a ticket?') whenever the user tries to access an undefined path. It should return a 404 'not found' error instead.

The OS that Immich Server is running on

N/A

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

N/A

Your .env content

N/A

Reproduction steps

1. Go to any random path such as https://<immich domain>/whatever
2. The user is shown an unhelpful error message suggesting to open a bug ticket

Additional information

No response

Originally created by @Funk66 on GitHub (Apr 7, 2024). ### The bug Immich shows a server error (500) with no information (defaults to 'Hmm, not sure about that. Check the logs or open a ticket?') whenever the user tries to access an undefined path. It should return a 404 'not found' error instead. ### The OS that Immich Server is running on N/A ### Version of Immich Server v1.101.0 ### Version of Immich Mobile App v1.101.0 ### Platform with the issue - [X] Server - [X] Web - [X] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Go to any random path such as https://<immich domain>/whatever 2. The user is shown an unhelpful error message suggesting to open a bug ticket ``` ### Additional information _No response_
OVERLORD added the good first issue🖥️web labels 2026-02-05 07:02:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2783