PATCH /api/v1/projects/{project}/features/{feature}/mv-options/{id}/ returns a 500 when the payload leaves out default_percentage_allocation, which prevents updates to change only a variant key.
Steps To Reproduce
- Create a multivariate feature with at least one variant.
PATCH .../mv-options/{id}/ with {"feature": <feature_id>, "key": "hero"}.
- The response is 500.
Expected behaviour
A partial update succeeds, leaving the allocation as it is.
PATCH /api/v1/projects/{project}/features/{feature}/mv-options/{id}/returns a 500 when the payload leaves outdefault_percentage_allocation, which prevents updates to change only a variant key.Steps To Reproduce
PATCH .../mv-options/{id}/with{"feature": <feature_id>, "key": "hero"}.Expected behaviour
A partial update succeeds, leaving the allocation as it is.