Google Analytics Importer: The service is currently unavailable

Hey Matomo community!

I am trying to import my GA3 data into Matomo (self-hosted). I have set up everything according to the official Matomo guides. After importing about 20 days of data, the import stops with an error:

Fehlermeldung: Error on day 2023-01-11, Failed to reach GA after 2 attempt(s). The import will automatically restart later and you don't need to do anything. Last GA error message: The service is currently unavailable. 

The log shows errors such as this:

INFO [2023-02-02 13:11:01] 4556  Google Analytics API returned error: {
  "error": {
    "code": 503,
    "message": "The service is currently unavailable.",
    "errors": [
        "message": "The service is currently unavailable.",
        "domain": "global",
        "reason": "backendError"
    "status": "UNAVAILABLE"

However when i manually restart the import, it works again for a few days of data, until it runs into the same error again.

According to the Google API dashboard, I haven’t used up my daily limit yet (3.100 requests of 50.000 today).

Does anyone have an idea on what could cause this issue?

@felix1 This looks like more of a Google issue, we are trying twice with a sleep of 2 seconds
See -

1 Like