i am also going through the google cal api quickstart and getting the exact same error. i have done everything mentioned in the above post. my quickstart.py is just a copy pasted version of what is provided in the docs.