Flagsmith/flagsmith

Insufficient validation in ` /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/`

Open

#6.615 geöffnet am 28. Jan. 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (3.475 Stars) (264 Forks)batch import
apigood first issue

Beschreibung

Sentry Issue: FLAGSMITH-API-5GZ

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