openverse-api
openverse-api copied to clipboard
Incorrectly formatted OAuth requests cause uncaught errors
Description
https://sentry.io/share/issue/48770754fc364b67ae219941798970cf/
If you send a malformed OAuth request it will raise a 500.
Reproduction
- Run the API
- Send an OAuth POST with query params
- Note the unhandled error
Expectation
We should expect this error and respond with a normal Bad Request and not 500.
Resolution
- [ ] 🙋 I would be interested in resolving this bug.
Reprioritizing this to low as it hasn't happened for over 30 days.
Hi @sarayourfriend , This issue seems to be a good initiation of my journey towards contribution to FOSS projects. Can you please assign this to me?
Hey @Akshat977, please go ahead. Assigning this to you.