Description of the Bug
When navigating to a non-existent route on the website, the application does not display a proper custom 404 error page. Users are presented with a generic error response or an unclear page, which can lead to confusion and a poor user experience.
Steps to Reproduce
- Visit the application: https://param20h-pdf-assit-rag.hf.space/
- Manually enter an invalid URL path, for example:
- https://param20h-pdf-assit-rag.hf.space/random-page
- https://param20h-pdf-assit-rag.hf.space/test404
- press enter and observe
Expected Behavior
A user-friendly custom 404 page should be displayed.
The page should clearly indicate that the requested page does not exist.
Users should be provided with navigation options such as:
Return to Home
Upload PDF
Go Back
Screenshots / Logs
No response
Environment
macOS
GSSoC '26
Description of the Bug
When navigating to a non-existent route on the website, the application does not display a proper custom 404 error page. Users are presented with a generic error response or an unclear page, which can lead to confusion and a poor user experience.
Steps to Reproduce
Expected Behavior
A user-friendly custom 404 page should be displayed.
The page should clearly indicate that the requested page does not exist.
Users should be provided with navigation options such as:
Return to Home
Upload PDF
Go Back
Screenshots / Logs
No response
Environment
macOS
GSSoC '26