2
我提交使用API資源管理器在谷歌雲端控制檯以下請求:爲什麼使用Google Cloud Datastore API瀏覽器獲取503服務不可用錯誤?
{
"query": {
"kinds": [
{
"name": "Car"
}
],
"filter": {
"propertyFilter": {
"property": {
"name": "car_name"
},
"operator": "equal",
"value": {
"stringValue": "Honda"
}
}
}
}
}
而且我得到了如下回應:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "backendError",
"message": "Backend Error"
}
],
"code": 503,
"message": "Backend Error"
}
}
我通過OAuth認證爲好。爲什麼這不工作?
您是否啓用了Cloud Datastore API?您可以通過訪問https://console.developers.google.com,點擊您的項目,然後點擊APIs&auth - > API進行檢查 – 2014-10-04 00:38:47
是的,Cloud Datastore API已啓用 – 2daaa 2014-10-04 02:21:24
您可能想嘗試使用API瀏覽器,正確運行該查詢,並查看它創建的消息。有時您認爲您的消息格式正確(看起來是這樣),結果發現有一個額外的「重複」字段,這意味着你需要另一個[]括號。查看API瀏覽器的功能將有助於找出你的差異。 – Patrice 2014-10-06 15:51:33