Flagsmith / Flagsmith/flagsmith
Insufficient validation in ` /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/`
Open
api
good first issue
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 567
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 121
Description
Sentry Issue: [FLAGSMITH-API-5GZ](https://flagsmith.sentry.io/issues/7223700739/?referrer=github_integration)
```
KeyError: 'default_percentage_allocation'
(9 additional frame(s) were not displayed)
...
File "features/multivariate/views.py", line 89, in create
return super().create(request, *args, **kwargs)
File "features/multivariate/serializers.py", line 68, in validate
total_sibling_percentage_allocation + attrs["default_percentage_allocation"]
```
Contributor guide
Assessment
This issue has not been assessed yet.