My Business
4.1K members online now
4.1K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Insights returning 500 Error

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We have been requesting insights by using this same requests for several months, but it started to fail a couple of days ago.

 

The endpoint we are using is https://mybusiness.googleapis.com/v3/accounts/107085059118184764233/locations:reportInsights

 

{
   "locationNames":[
      "accounts/107085059118184764233/locations/5983019577849657268"
   ],
   "basicRequest":{
      "metricRequests":[
         {
            "metric":"ALL",
            "options":[
               "AGGREGATED_DAILY",
               "AGGREGATED_TOTAL",
               "BREAKDOWN_DAY_OF_WEEK",
               "BREAKDOWN_HOUR_OF_DAY"
            ]
         }
      ],
      "timeRange":{
         "endTime":"2017-06-10T10:50:15.915425+00:00",
         "startTime":"2017-06-07T10:50:15.915425+00:00"
      }
   }
}  

 we get this error:

{"error": {"status": "INTERNAL", "message": "Internal error encountered.", "code": 500}}
1 Expert replyverified_user

Insights returning 500 Error

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭

Just to add some more information, the response is correct if I remove "BREAKDOWN_HOUR_OF_DAY" from the request body.

Insights returning 500 Error

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

We have been experiencing the same thing.  

 

Googlers - Any word on when this will stabilize again?

Marked as Best Answer.
Solution
Accepted by topic author Alvaro L
June

Re: Insights returning 500 Error

Google Employee
# 4
Google Employee

Hi @Alvaro L & @Bob M

 

We’ll look into this issue and get back to you soon with a solution. Thanks for your patience!

 

Thanks,

The Google My Business API team

Insights returning 500 Error

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

It is solved now. Thank you!!