Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I get 503 Service Unavailable errors using the Google Cloud Datastore API explorer?

I submitted the following request using the API explorer in the Google Cloud Console:

{
"query": {
"kinds": [
{
"name": "Car"
}
],
"filter": {
"propertyFilter": {
"property": {
"name": "car_name"
},
"operator": "equal",
"value": {
"stringValue": "Honda"
}
}
}
}
}

And I got the following response:

{
"error": {
"errors": [
{
"domain": "global",
"reason": "backendError",
"message": "Backend Error"
}
],
"code": 503,
"message": "Backend Error"
}
}

I've authenticated with OAuth as well. Why won't this work?

like image 388
2daaa Avatar asked Oct 04 '14 00:10

2daaa


People also ask

What is 503 error in REST API?

The HyperText Transfer Protocol (HTTP) 503 Service Unavailable server error response code indicates that the server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.

Is Cloud Datastore deprecated?

Because Cloud Datastore API v1 is released, Cloud Datastore API v1beta3 is now deprecated.


1 Answers

I see these errors myself sometimes. AFAIK, this basically says "You did everything right, but Google is having some trouble handling your request."

If you see this happening a lot, you should check status.cloud.google.com to see if there are any known issues.

In short: there's not much you can do about a 503 Backend Error. :(

like image 158
JJ Geewax Avatar answered Sep 29 '22 09:09

JJ Geewax