Invalid JSON being logged for no good reason #1116
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
python --version
pip --version
google-api-python-client
version:pip show google-api-python-client
Steps to reproduce
Solution
Either stop error sniffing or expand it to additional valid use scenarios, in this case the particular payload was
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.
The text was updated successfully, but these errors were encountered: