anitab-org / anitab-org/mentorship-backend

Error message for field 'name' is not filled

Open
#573 11 comments 1 reaction 1 assignee Assigned to @umichritikashetty View on GitHub
Category: Coding Category: Documentation/Training First Timers Only
Dominant language
Python
Stars
200
Forks
449
PR merge metrics
No merged PRs in 30d

Description

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:

1. Go to 'User-Register'
2. {
"name": "",
"username": "testua",
"password": "testua123",
"email": "voxij69223@mailop7.com",
"terms_and_conditions_checked": true,
"need_mentoring": true,
"available_to_mentor": true
}

3. Click on 'Execute'.
4. Scroll down to 'Response'
5.
![Screenshot (16)](https://user-images.githubusercontent.com/50888936/81107384-b8387300-8f34-11ea-9e5d-063128b7ed9f.png)

**Expected behavior**
The error message should be listed under 400 error messages

**Desktop (please complete the following information):**
- OS: Windows10
- Browser Chrome

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.