Flagsmith/flagsmith

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

Open

#6.615 aberto em 28 de jan. de 2026

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Python (264 forks)batch import
apigood first issue

Métricas do repositório

Stars
 (3.475 stars)
Métricas de merge de PR
 (Mesclagem média 3d 7h) (157 fundiu PRs em 30d)

Description

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

Guia do colaborador