在Htmlservice下面的apps脚本下运行时获取此异常。
我从下面的链接https://developers.google.com/picker/docs/
中使用的参考程序程序名称为:“处理Google云端硬盘资产”
从谷歌开发者控制台创建客户端ID和Appkey。 我仍然低于例外
401. That’s an error.
Error: invalid_client
no registered origin
Request Details
client_id=562361707913-7unrv3ioupsmuomsc741gfdmh3n4hg97.apps.googleusercontent.com
scope=https://www.googleapis.com/auth/drive
immediate=false
include_granted_scopes=true
proxy=oauth2relay393644742
redirect_uri=postmessage
origin=https://n-bmuwrtqcc3xmmll6ky3orndzuxtebd3mdpptasy-0lu-script.googleusercontent.com
response_type=token
gsiwebsdk=1
state=380226942|0.1134547813
jsh=m;/_/scs/apps-static/_/js/k=oz.gapi.en.WcpMzqgmJZU.O/m=__features__/am=AQ/rt=j/d=1/rs=AGLTcCNsTS1p4dx0iMhlrwEpiaXw4iMjOg
That’s all we know.