Intermittent 403 “This service is not available fr

2019-09-14 14:27发布

https://www.googleapis.com/discovery/v1/apis/script/v1/rest returned "This service is not available from your country">

This is an error from the google python oauth2client library resulting from the call:

service = discovery.build('script', 'v1', http=http)

Ive been working on this code on this server for 5 days. Until today, everything worked perfectly.

1条回答
兄弟一词,经得起流年.
2楼-- · 2019-09-14 15:08

The most likely reason for this is you are connecting to google's api system with an http request not https. check your loGs for such. Before Python2.7.9 this was quite easy to do. I dont know about other languages

Using an http layer the google servers will allow connections for about a week, and then they shut the door.

查看更多
登录 后发表回答