I dont believe URLError have a code attribue. HTTPError does though. HTTPError inherit from URLError. So I have doubt this case can happen here : https://github.com/shotgunsoftware/python-api/blob/master/shotgun_api3/shotgun.py#L2668 https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError
Activity