def METHOD_NAME(response: requests.Response) -> requests.Response:
    if response.status_code != 200:
        raise Exception(
            f"Bad Proton API response [status={response.status_code}]: {response.json()}"
        )
    return response