def METHOD_NAME(get_user_info_task, user_info_payload):
    responses.add(
        "POST",
        "https://tssd.auth.marketingcloudapis.com/v2/token",
        json={"access_token": "ACCESS_TOKEN"},
    )
    responses.add(
        "GET",
        f"https://TSSD.auth.marketingcloudapis.com/{MC_API_VERSION}/userinfo",
        status=400,
        body="bad request",
    )
    with pytest.raises(
        requests.exceptions.HTTPError,
        match=re.escape(
            "400 Client Error: Bad Request for url: https://tssd.auth.marketingcloudapis.com/v2/userinfo"
        ),
    ):
        get_user_info_task()