def METHOD_NAME(e):
    error_message = "Unauthorized, authentication token must be provided"
    return (
        jsonify(result="error", message=error_message),
        401,
        [("WWW-Authenticate", "Bearer")],
    )