Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce1b1d commit 778eabeCopy full SHA for 778eabe
googleapiclient/errors.py
@@ -52,6 +52,8 @@ def _get_reason(self):
52
reason = data['error']['message']
53
if 'details' in data['error']:
54
self.error_details = data['error']['details']
55
+ elif 'detail' in data['error']:
56
+ self.error_details = data['error']['detail']
57
elif isinstance(data, list) and len(data) > 0:
58
first_error = data[0]
59
reason = first_error['error']['message']
0 commit comments