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

403 Responses are not serialized correctly on the export_async endpoint #2190

Open
sentryk8sonalabsorg bot opened this issue Feb 1, 2022 · 0 comments

Comments

@sentryk8sonalabsorg
Copy link

Sentry Issue: ONADATA-6K

TypeError: Object of type Response is not JSON serializable
(7 additional frame(s) were not displayed)
...
  File "rest_framework/response.py", line 70, in rendered_content
    ret = renderer.render(self.data, accepted_media_type, context)
  File "rest_framework/renderers.py", line 100, in render
    ret = json.dumps(
  File "rest_framework/utils/json.py", line 25, in dumps
    return json.dumps(*args, **kwargs)
  File "rest_framework/utils/encoders.py", line 67, in default
    return super().default(obj)

TypeError: Object of type Response is not JSON serializable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants