GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Invalid JSON being logged for no good reason · Issue #1116 · googleapis/google-api-python-client Closed Labels priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionEnvironment details
Steps to reproduce
SolutionEither stop error sniffing or expand it to additional valid use scenarios, in this case the particular payload was {'error': {'code': 403,
'details': [{'@type': 'type.googleapis.com/google.rpc.Help',
'links': [{'description': 'Google developers console '
'API activation',
'url': 'https://console.developers.google.com/apis/api/cloudfunctions.googleapis.com/overview?project=926761696986'}]},
{'@type': 'type.googleapis.com/google.rpc.ErrorInfo',
'domain': 'googleapis.com',
'metadata': {'consumer': 'projects/redacted',
'service': 'cloudfunctions.googleapis.com'},
'reason': 'SERVICE_DISABLED'}],
'message': 'Cloud Functions API has not been used in project '
'926761696986 before or it is disabled. Enable it by '
'visiting '
'https://console.developers.google.com/apis/api/cloudfunctions.googleapis.com/overview?project=redacted '
'then retry. If you enabled this API recently, wait a '
'few minutes for the action to propagate to our systems '
'and retry.',
'status': 'PERMISSION_DENIED'}} there's a bunch of well known key sniffing in http.py on error which doesn't properly look at message or status and should be updated to do the same to avoid throwing an Invalid JSON message on perfectly valid json. Activity
MetadataMetadataAssigneesLabelspriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |