Closed kfahad5607 closed 4 weeks ago
I can work on this issue
Hey thanks for reporting, we are actively fixing this issue now!
I would be more than happy to help in any way I can and would appreciate being assigned tasks.
I would be happy to work on this issue and implement best error handling practices going on in the industry. Looking forward to hearing from you
Thanks for reporting this @kfahad5607 ! I assigned you to the issue, let me know if you're no longer interested in it
Hi @N2D4,
Thank you for assigning this issue to me. Are there any specific instructions or things I should keep in mind before I start working on it?
Few endpoints already have proper error handling:
Adding an Existing User to a Team
Getting User Teams with an Invalid User ID
However, some endpoints do not have error handling:
Queries:
Currently, there is no error handling in the API handlers. When something goes wrong, the server returns an Internal Server Error without providing meaningful feedback to the user.
Few Examples
Adding an Existing User to a Team
Deleting a Non-Existent User from a Team
Getting User Teams with an Invalid User ID
Expected Results
The API should handle errors gracefully and return meaningful, user-friendly error messages, such as:
Additional Notes
These are just a few examples of the endpoints affected. There are many more endpoints that currently lack proper error handling.
I would love to work on this issue. Please assign it to me if possible.