Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

832 - Create new user gives HTTP 422 Unprocessable Entity exception #833

Merged
merged 2 commits into from
Jul 8, 2022
Merged

832 - Create new user gives HTTP 422 Unprocessable Entity exception #833

merged 2 commits into from
Jul 8, 2022

Conversation

chriscalhoun1974
Copy link
Contributor

Purpose

When a FidesOps user is creating a new user and clicks the "Save" button, the following toast error message is displayed:

utf-8' codec can't decode byte 0xd8 in position 4: invalid continuation byte

Via Chrome DevTools, you can see the API endpoint (http://0.0.0.0:8080/api/v1/user) POST is invoked resulting in a HTTP 422 Unprocessable Entity exception.

Changes

  • Ensured that the user password is base64 encrypted when submitted via API request.

Checklist

  • Update CHANGELOG.md file
    • Merge in main so the most recent CHANGELOG.md file is being appended to
    • Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
    • Add a link to this PR at the end of the description with the PR number as the text. example: #1
  • Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
  • If docs updated (select one):
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Good unit test/integration test coverage
  • This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
  • The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket

Fixes #
#832

@chriscalhoun1974 chriscalhoun1974 marked this pull request as ready for review July 8, 2022 01:26
@sanders41 sanders41 merged commit 4efd217 into ethyca:main Jul 8, 2022
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
…833)

* 832 - [User Management] Create new user gives HTTP 422 Unprocessable Entity exception

* Updated CHANGELOG.md file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants