Flagsmith/flagsmith

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

Open

#6615 aperta il 28 gen 2026

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (264 fork)batch import
apigood first issue

Metriche repository

Star
 (3475 star)
Metriche merge PR
 (Merge medio 3g 7h) (157 PR mergiate in 30 g)

Descrizione

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"]

Guida contributor