Skip to content

[BUG]-Resource returns 404 Not Found error on dashboard home page #2666

Description

@ShreyaLbs

Description

When the dashboard home page loads, the browser console shows a 404 Not Found error for a resource being requested by the page. This means either a file, image or API endpoint that the dashboard depends on does not exist or has been moved without updating the reference in the code. This could be causing certain content on the dashboard to not load or display correctly for all users.

Goals

  • Identify and fix the missing resource causing the 404 Not Found error on the dashboard home page
    -Ensure all resources requested by the dashboard home page exist and return 200 OK
    -Eliminate the 404 Not Found console error on the dashboard home page
    -Ensure all content on the dashboard loads and displays correctly for all users
    -Improve overall reliability and stability of the dashboard home page

Expected Outcome

When a logged in user navigates to the dashboard home page all resources requested by the page should load successfully with a 200 OK response. No 404 Not Found errors should appear in the browser console. All content on the dashboard should display correctly without any missing files images or API endpoints.

Acceptance Criteria

-No 404 Not Found error appears in the browser console on the dashboard home page
-All resources requested by the dashboard home page return 200 OK
-All content on the dashboard loads and displays correctly for all logged in users
-The missing resource is identified and either restored or its reference is updated in the code
-Fix verified and tested on both desktop and mobile views

Implementation Details

-Identify the exact resource causing the 404 Not Found error by checking the Network tab in Chrome DevTools on the dashboard home page
-Check whether the missing resource is a file, image or API endpoint
-If it is a missing file or image restore it to the correct location or update the reference in the code to point to the correct location
-If it is a missing API endpoint check the backend URL configuration in Django and restore or update the endpoint
-Check all other pages for similar 404 errors and fix them as well

Mockups / Wireframes

[Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.]


[Please note that the below section of the ticket has to be in the format as mentioned as it is key to enabling proper listing of the project. Please only choose the options mentioned under the headings wherever applicable.]

Product Name

µLearn

Project Name

Fix 404 Not Found error for missing resource on dashboard home page

Tech Skills Needed:

Python · Django REST Framework · React.js · Chrome DevTools · API Debugging

Mentor(s)

[@Mentor1] [@mentor2] [@Mentor3]

Complexity

Pick one of [Medium]

Category

Pick one or more of[Bug]

Sub Category

Pick one or more of [API] [Backend] [Frontend]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions