Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Condition.DoesNotExist: Condition matching query does not exist during a HTTP PUT operation #4918

Open
sentry-io bot opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 13, 2024

Sentry Issue: FLAGSMITH-API-51K

Condition.DoesNotExist: Condition matching query does not exist.
(13 additional frame(s) were not displayed)
...
  File "common/segments/serializers.py", line 210, in _update_or_create_segment_rules
    self._update_or_create_segment_rules(
  File "common/segments/serializers.py", line 206, in _update_or_create_segment_rules
    self._update_or_create_conditions(
  File "common/segments/serializers.py", line 273, in _update_or_create_conditions
    condition = Condition.objects.get(id=condition_id)
  File "softdelete/models.py", line 129, in get
    return self._get_self_queryset().get(*args, **kwargs)
  File "django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(
@sentry-io sentry-io bot added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants