genomic-medicine-sweden / docker-sc2reporter

Dockerized version of the sc2reporter program.
GNU General Public License v2.0
0 stars 1 forks source link

POST users/add returns conflict error #49

Closed elevu closed 1 year ago

elevu commented 1 year ago

Example query run ```curl -X 'POST' \ 'https://34.125.210.143/users/add/' \ -H 'accept: application/json' \ -H 'Authorization: Bearer XXXkOR_U8sHvzAa7vY' \ -H 'Content-Type: application/json' \ -d '{ "username": "Test12345", "email": "Test12345", "fullname": "Test12345", "disabled": false, "password": "Test12345" }'


```{
  "detail": "User already exists in the database"
}

the endpoint always returns Conflict