miguelgrinberg / microblog-api

A modern (as of 2024) Flask API back end.
MIT License
367 stars 99 forks source link

Revoke an access token endpoint error #11

Closed dhernandezgt closed 4 months ago

dhernandezgt commented 2 years ago

Hi Miguel,

I am testing the api application and I found that Revoke an access token endpoint return an 500 error in HTML format to API (in webUI Documentation and also with httpie in console) it looks that one schema auth argument and/or 500 error handle is missing.

image

Saludos desde Guatemala.

Best Regards,

DH

miguelgrinberg commented 2 years ago

The request that you've made caused an unhandled exception. You are also running the Flask application with the debugger enabled, so the debugger takes over and returns the interactive stack trace. If you disable the debugger, or disable the debug mode altogether, then the response will be the standard error response.