HttpLib2 Missing Header Error When Timezone Is Incorrect
See original GitHub issueEnvironment details
- OS type and version: OSX
- Python version:
Python 3.7.4
- pip version:
pip 20.2.2
google-api-python-client
version:Version: 1.10.0
Steps to reproduce
When calling this API endpoint:
https://developers.google.com/bid-manager/v1.1/queries/createquery
With this field set to ( should be “America/Los_Angeles” ):
timezoneCode:“Los Angeles/America”
The following error shows up consistently at the wrong layer:
httplib2.RedirectMissingLocation: Redirected but response is missing a location: header
Code example
See above.
This is a bug that took hours to track down because the error is manifesting in httplib. Which is the wrong layer to catch this.
Lookin online this crops up every few months and burns a bunch of time. Hopefully having this be reproducible will help.
PS: Look me up at Google if you need to reproduce.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Python: Httplib2 Module Not Found - Stack Overflow
I tried to import the module but i am getting the error shown below:- sh-3.2 ...
Read more >Changelog - Python client library | Google Cloud
missing license headers in new test files (#604) (df48cc5) ... invalid conversion of timezone-aware datetime values to JSON (#480) (61b4385).
Read more >shotgun_api3.shotgun — python-api v3.3.4 documentation
[docs]class MissingTwoFactorAuthenticationFault(Fault): """ Exception when the server side reports an error related to missing two-factor authentication ...
Read more >Before you contact support: Gather key information
Before contacting Google for help with your Google Workspace or Cloud Identity account, you can help us by gathering information about your issue....
Read more >What's New — pandas 0.18.0 documentation - PyData |
pandas >= 0.18.0 no longer supports compatibility with Python version 2.6 and 3.3 ... Bug in DataFrame.to_latex() produces an extra rule when header=False...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue is appearing again on this endpoint
https://developers.google.com/bid-manager/v1.1/queries/createquery
I second the fact that the problem is happening again. However I don’t believe that the issue is caused by the timezone being incorrect. Below is a traceback for this: