Google bigquery 通过tRestClient创建Google BigQuery删除表

Google bigquery 通过tRestClient创建Google BigQuery删除表,google-bigquery,talend,Google Bigquery,Talend,这是我第一次使用Google Cloud API,我的想法是使用API删除一个表,我浏览了文档并尝试了所有可能的方法,问题是我总是遇到这个错误 "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization" "code": 401, "message": "Invalid Credentials"

这是我第一次使用Google Cloud API,我的想法是使用API删除一个表,我浏览了文档并尝试了所有可能的方法,问题是我总是遇到这个错误

"domain": "global",
"reason": "authError",
"message": "Invalid Credentials",
"locationType": "header",
"location": "Authorization"
"code": 401,
"message": "Invalid Credentials"

这意味着我的令牌无效,但我正在使用相同的令牌通过
tBigQueryInput
将数据插入
bigquery
并且它正在工作,有人能帮助我或指导我在哪里查找答案吗。

Hi,通过运行以下命令确认您使用的承载令牌是否有效:
curl"https://www.googleapis.com/oauth2/v3/tokeninfo?access_token=“
我得到了这个响应{“错误描述”:“无效值”}我猜我使用了错误的令牌,但我正在使用它来插入BigQuery!我期待着其他错误消息,所以为了确保,请确认您已使用Bear token字段上的值更改了整个
。此外,由于我不知道您正在使用的工具,您只是在测试API,请直接从中尝试并阅读