def METHOD_NAME(
    client: TestClient,
    basic_auth: httpx.BasicAuth,
    invitation_data: InvitationInputs,
    another_secret_key: str,
):
    invitation_url = create_invitation_link(
        invitation_data=invitation_data,
        secret_key=another_secret_key,  # <-- NOTE: DIFFERENT secret
        base_url=f"{client.base_url}",
    )
    # check invitation_url
    response = client.post(
        f"/{API_VTAG}/invitations:extract",
        json={"invitation_url": invitation_url},
        auth=basic_auth,
    )
    assert (
        response.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY
    ), f"{response.json()=}"
    assert INVALID_INVITATION_URL_MSG == response.json()["detail"]