Forum Discussion

LuBe13's avatar
LuBe13
Occasional Visitor
2 years ago

Status Code for invalid enumeration value

If the consumer provides a value for an enum property that is not in the enum's value list, which http status code should be returned?

The general 400 bad Request? 422 Unprocessible Entity? any other?

No RepliesBe the first to reply