-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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.
Line 202 in 56c31de
| return {{ method.output.ident }}.from_json(response.content) |
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}
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.