ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
63 stars 80 forks source link

[API] In POST /user Save User response 500 Undocumented - should be 403 Forbidden. #6484

Open Phobos13bdrive opened 10 months ago

Phobos13bdrive commented 10 months ago

Environment: Firefox 116.0.3 (64-bit). Reproducible: always.

Preconditions Moved to Swagger https://greencity-user.greencity.social/swagger-ui.html Sign in us User.

Steps to reproduce

  1. Click on User controller.
  2. Click on POST /user Save User.
  3. Click on 'Try out'.
  4. Click on 'Execute'.

Actual result Response 500 Undocumented image

Expected result Response 403 Forbidden.

User story and test case links E.g.: "User story #100 Test case"

Labels to be added "Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

SvitlanaRadkevych commented 1 month ago
Error: response status is 401 --

github_bug_API

SvitlanaRadkevych commented 1 month ago

Error: response status is 401 github_bug_API