You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arithmetic1728 opened this issue
Jan 11, 2021
· 0 comments
· Fixed by #738
Assignees
Labels
🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
If response code is not 200, then response.content will be an error message. The following code cannot parse this error message, and an exception will be thrown.
🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
If response code is not 200, then
response.content
will be an error message. The following code cannot parse this error message, and an exception will be thrown.gapic-generator-python/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2
Line 202 in 56c31de
Example
response.content
:{\n"error": {\n "code": 403,\n "message": "Request is prohibited by organization\'s policy. vpcServiceControlsUniqueIdentifier: a69c658379e4178a",\n "errors": [\n {\n "message": "Request is prohibited by organization\'s policy. vpcServiceControlsUniqueIdentifier: a69c658379e4178a",\n "domain": "global",\n "reason": "forbidden"\n }\n ],\n "status": "PERMISSION_DENIED"\n }\n}
The text was updated successfully, but these errors were encountered: