API Report API API 503

Over the past few weeks, the batch task that I use to retrieve user usage reports from the reporting API has failed with the following answer:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 OK { "code" : 503, "errors" : [ { "domain" : "global", "message" : "Backend Error", "reason" : "backendError" }], "message" : "Backend Error" } 

Does anyone else see this error? Looks like an internal API error. Is there anything I can do in my way to avoid this problem? Thanks!

+4
source share
2 answers

you have this error because the project number (sender ID) was not found or deleted. Create a news project at https://console.developers.google.com/project and test it using this URL: https://www.googleapis.com/storage/v1/b?project= Project Number

thanks

0
source

I had 503 in my backend when I had an endpoint request. when you use Google Datastore, first you need to run it on localhost so that it creates an index in the datastore-indexes-auto.xml file that is automatically generated.

this is an example of an index

 <!-- Used 1 time in query history --> <datastore-index kind="Conference" ancestor="true" source="auto"> <property name="name" direction="asc"/> </datastore-index> 

0
source

Source: https://habr.com/ru/post/1499177/


All Articles