mentorship-backend
mentorship-backend copied to clipboard
Error message for field 'name' is not filled
If the field 'name' is not filled in the input an appropriate error message should be showned and listed under the 400 Responses. To Reproduce
Steps to reproduce the behavior:
-
Go to 'User-Register'
-
{ "name": "", "username": "testua", "password": "testua123", "email": "[email protected]", "terms_and_conditions_checked": true, "need_mentoring": true, "available_to_mentor": true }
-
Click on 'Execute'.
-
Scroll down to 'Response'

Expected behavior The error message should be listed under 400 error messages
Desktop (please complete the following information):
- OS: Windows10
- Browser Chrome
This is awesome @faznan3nazer 👏 thank you for creating these issues as separates 🙌
Hi @faznan3nazer and @isabelcosta I am interested in working on this issue. If no one else is working on it, could you please assign it to me? Thanks!
@Ritika5901234 There you go!
thanks
Hi, if this issue is available to work on. Can you please assign it to me?
Sure @engineerrbae :) will assign to you!
Hey, thanks for the quick action. Is this a user-specific issue? As I tried to reproduce it at my end but, I am not able to replicate the issue.
@engineerrbae sorry for the delay. This is not user-specific I think. Have you tried the test data from the ticket?
{
"name": "",
"username": "testua",
"password": "testua123",
"email": "[email protected]",
"terms_and_conditions_checked": true,
"need_mentoring": true,
"available_to_mentor": true
}
I think all you need is name to be empty. This ticket is about the error message not showing up in the Swagger documentation.

Are you still interested in working on this?
Hi, is anyone working on this right now? I would love to claim it if not! @vj-codes
Assigning you @umichritikashetty Happy coding!
@engineerrbae Unassigning you due to inactivity