1
测试网址:https://developers.google.com/apis-explorer/#p/storage/v1beta2/storage.objectAccessControls.insert使用storage.objectAccessControls.insert的谷歌云存储
我发送这样的请求:
Content-Type: application/json
Authorization: Bearer <AUTH TOKEN HERE>
X-JavaScript-User-Agent: Google APIs Explorer
{
"entity": "user-email",
"role": "READER",
"email": "[email protected]",
"kind": "storage#objectAccessControl"
}
=========== =================================
Response
400 Bad Request
- Show headers -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid Value"
}
],
"code": 400,
"message": "Invalid Value"
}
}
========== =========================== 谁可以告诉我我在哪里犯错误?谢谢〜
有些电子邮件似乎不能用作实体。这是否有一些要求像电子邮件必须由谷歌认证? –
电子邮件必须与Google帐户相关联。 –
真的很感谢您的帮助〜 –