Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug : sending invalid input should not returun 500 but a 400 #74

Open
LasneF opened this issue Jul 24, 2024 · 0 comments
Open

Bug : sending invalid input should not returun 500 but a 400 #74

LasneF opened this issue Jul 24, 2024 · 0 comments

Comments

@LasneF
Copy link

LasneF commented Jul 24, 2024

**Description **

given an invalid input server rertuns 500 , where it should return 400 error code ( payload is ok)

How to Reproduce
given the request

POST : https://api.scim.dev/scim/v2/Groups

with no payload

the server return

status code 500 + this payload 
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "Missing a valid schemas-attribute.",
    "status": 500
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant