Skip to content

[Bug]: Removing profile image while updating throws error but removing the pfp behind the scenes.Β #416

@piyusharmap

Description

@piyusharmap

πŸ› Describe the Bug

If we click on the Yes, Delete option while updating the profile image, it throws an error. However, if we refresh the page, the profile picture is no longer visible. Behind the scenes, it is working, but on the client side, we are receiving a 500 error.

πŸ”ƒ Steps to Reproduce

List the steps to reproduce the bug:

  1. Go to the profile page.
  2. Try to delete the existing profile picture (or add one if none exists).
  3. Observe the error.

πŸ“ƒ Expected Behavior

The profile picture should be removed immediately without throwing an error. Currently, it is getting removed, but the client still shows an error message.

πŸ“Έ Screenshots or Videos

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    πŸ› bugSomething isn't working.πŸ”Ž exploration neededThis issue requires further investigation and exploration.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions