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

TypeError: Object of type set is not JSON serializable #1015

Closed
sentry-io bot opened this issue Sep 9, 2022 · 1 comment
Closed

TypeError: Object of type set is not JSON serializable #1015

sentry-io bot opened this issue Sep 9, 2022 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 9, 2022

Sentry Issue: CARE-FF

TypeError: Object of type set is not JSON serializable
(14 additional frame(s) were not displayed)
...
  File "django/contrib/postgres/fields/jsonb.py", line 27, in dumps
    return json.dumps(obj, **options)
  File "__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
@sainak
Copy link
Member

sainak commented Jul 21, 2023

fixed with django 4.2

@sainak sainak closed this as completed Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant