Details
-
Spike
-
Resolution: Fixed
-
Neutral
-
None
-
None
Description
+ Sample yaml configuration:
class: info.magnolia.analytics.google.datasource.GoogleDataSupplier
credentials:
applicationName: Magnolia Analytics
serviceAccountJsonPath: /google-analytics/dataSuppliers/authorxga4-key.json
parameters:
propertyId: 354424382
startDate: 7DaysAgo
endDate: today
dimensionName: date
metricExpression: sessions
+ Document refer: https://github.com/googleapis/java-analytics-data
+ Problem: When running to get the GA4 report on Analytics module of Magnolia, it throws this error.
io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

Attachments
Issue Links
- depends upon
-
ANALYTICS-408 Migrating to the Google Analytics Data API v1
-
- Closed
-