google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

TypeError raised if returned error not in expected format

Open saicheems opened this issue 9 years ago • 3 comments

https://github.com/google/google-api-python-client/blob/master/googleapiclient/http.py#L115

^ We need a check for cases where 'reason' is not under the expected structure.

saicheems avatar Nov 27 '17 18:11 saicheems

@bantini

saicheems avatar Nov 27 '17 18:11 saicheems

Also mentioned in #442 as well

bantini avatar Dec 04 '17 19:12 bantini

The latest commit should handle it.

bantini avatar Dec 14 '17 21:12 bantini