You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a client sends invalid json data, validate_json doesn't catch InvalidUsage("Failed when parsing body as json") raised by sanic. It should do so and return an error message and 400 status code.
The text was updated successfully, but these errors were encountered:
If a client sends invalid json data,
validate_json
doesn't catchInvalidUsage("Failed when parsing body as json")
raised by sanic. It should do so and return an error message and 400 status code.The text was updated successfully, but these errors were encountered: