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

M2M Request error handling #11

Open
cwdcwd opened this issue Jul 23, 2018 · 4 comments
Open

M2M Request error handling #11

cwdcwd opened this issue Jul 23, 2018 · 4 comments
Assignees

Comments

@cwdcwd
Copy link
Contributor

cwdcwd commented Jul 23, 2018

This line doesn't return helpful details as to issues. However, I've seen the following example in error responses that I think we should pass along:

{ 
  error: 'access_denied',
  error_description: 'Service not enabled within domain: http://topcoder-newauth.auth0.com/' } \
}
@cwdcwd
Copy link
Contributor Author

cwdcwd commented Jul 23, 2018

@sachin-maheshwari thoughts on the above?

@sachin-maheshwari
Copy link
Contributor

@cwdcwd sorry i missed this..i'll look into this.

@jmgasper
Copy link

@cwdcwd 🤦‍♂ I think this is what I ran into yesterday. Not sure a duplicate ticket is going to help. The issue I had trouble with was

reject(new Error('Unknown Error'))

That "Unknown error" has no details, making it take way too long to properly debug what was going on.

@cwdcwd
Copy link
Contributor Author

cwdcwd commented Aug 7, 2019

@sachin-maheshwari think we can get some one on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants