Endpoint enum input rejecting set values

I added an enum input to an endpoint and set the expected values (4 values). However, validation for the field kept failing even though I provided one of the expected values for the input (2 of the 4 values set were being rejected).

I had to delete the values from the enum and add them back again in order to get the validation for field working correctly

Working with APIs