Skip to content

build throws KeyError: 'rootUrl' error on Google Calendar API #208

@Ryan-Gouldsmith

Description

@Ryan-Gouldsmith

The below code has recently been throwing a rootUrl error for the Google Calendar v3 API.

from apiclient import discovery 
http = credentials.authorize(httplib2.Http())
service = discovery.build("calendar", "v3", http=http)

However, the above code using the "plus" "v1" API works fine and returns the correct data. I am using the google-api-python-client version 1.5.0.

Werkzeug is saying that it's this line which is throwing the error base = urljoin(service['rootUrl'], service['servicePath'])

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions