We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Zoë's avatar
Zoë
Explorer | Level 3
8 years ago

Invalid OAuth token handling

I'm writing directly against the v2 HTTP API and while testing our login and error handling, I found some unexpected results.  If I take a valid OAuth token and corrupt it (change the first character...
  • Greg-DB's avatar
    Greg-DB
    8 years ago
    Thanks for the feedback! The 400 error here with the plain text error message is more meant for the developer during development of the app. Generally, your app should be written such that a malformed access token like that wouldn't be able to make it into your released app, but you can catch the 400 and display the error to the user if you want.