Hello,

I am getting the following error when trying to access a spreadsheet via my 
python script. It has been working fine for 6 months now. Since today 
morning, i am getting this error.

*Code*:

 

json_key = json.load(open('xxxxxxx.json'))

scope = ['https://spreadsheets.google.com/feeds']

credentials = SignedJwtAssertionCredentials(json_key['client_email'], 
json_key['private_key'].encode(), scope)

gc = gspread.authorize(credentials)
book = 
gc.open_by_url('https://docs.google.com/spreadsheets/d/xxxxxxxxxxxxxx/edit')

*Error:*

requests.exceptions.ConnectionError: 
HTTPSConnectionPool(host='spreadsheets.google.com', port=443): Max retries 
exceeded with url: /feeds/spreadsheets/private/full (Caused by 
NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection
 
object at 0x0000000008139240>: Failed to establish a new connection: [Errno 
11001] getaddrinfo failed',))


Any help would be appreciated.


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to