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

Handle API responses that don't have structured JSON responses #2106

Open
sentry-io bot opened this issue Feb 2, 2021 · 0 comments
Open

Handle API responses that don't have structured JSON responses #2106

sentry-io bot opened this issue Feb 2, 2021 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 2, 2021

This can happen in particular when the response is issued at the network / nginx level.

For example, the below 502 error doesn't have a structured JSON response

Sentry Issue: XPRO-213

TypeError: Cannot read property 'errors' of undefined
  at call (./static/js/containers/pages/profile/EditProfilePage.js:65:17)
  at Ow (None:54:13)
  at a (None:40:1)
...
(1 additional frame(s) were not displayed)
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