podnieś 400 Python błędu

@app.route("/")
def bad_request():
    return Response(
        "The response body goes here",
        status=status.HTTP_400_BAD_REQUEST,
    )
MitchAloha