使用框线圈定区域以后,代码区报错 Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. 解决方案是网站退出登陆以后重新登陆了一下。 因为按照建议链接打开后出现的是谷歌登陆的页面,所以想到重新登录一下,试了试就可以了。