Skip to content

400 Response does not list "Terms and Conditions is not of type 'boolean'" message. #580

Open
@faznan3nazer

Description

When registering a new user, if Terms and condition is not filled then we see expected error message "terms_and_conditions_checked": "'' is not of type 'boolean'". But this message is not listed under 400 Responses.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'User-Register'.
  2. {
    "name": "testub",
    "username": "testub",
    "password": "testub123",
    "email": "[email protected]",
    "terms_and_conditions_checked":"",
    "need_mentoring":true,
    "available_to_mentor":true
    }
  3. Click on 'Execute'.
  4. Scroll down to 'Response'.

Screenshot (61)

Expected behavior
All the error messages should be listed under the 400 error messages.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome

Additional context
This is showing the same error message when "need_mentoring" and "available_to_mentor" is not filled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions