KNOWLEDGE BASE

"Error getting account summaries" when selecting metrics including Japanese on Google Analytics 4 connector


Published: 13 Sep 2023
Last Modified Date: 13 Sep 2023

Issue

When trying to connect to Google Analytics 4, if you select a Metric including Japanese or CJK characters such as below:
User-added image

You will see the error below:
Error getting account summaries
Error status: 400, {
  "error": {
    "code": 400,
    "message": "Metric names must only contain letters, numbers, or _. Received a metric name = user_conversion_rate[日本語文字列]",
    "status": "INVALID_ARGUMENT"
  }
}
User-added image

Environment

  • Tableau Desktop
  • Google Analytics 4

Cause

Google Analytics 4 API does not support Metric names with CJK characters.

Additional Information

GA4 Query Explorer shows the same error. *GA4 Query Explorer is provided by Google.
Did this article resolve the issue?