Skip to content

GOOGLE_APPLICATION_CREDENTIALS environment variable: missing 'type' field in credentials #2

@affinity226

Description

@affinity226

hi, i'm trying to use GABeat, however i got error from beat

Could not get Google Analytics data: Error creating auth context: google: error getting credentials using GOOGLE_APPLICATION_CREDENTIALS environment variable: missing 'type' field in credentials

i downloaded client_secret file from google analytics, the file format is
{"installed":{"client_id":"1234567890","project_id":"xxxx-test","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs"}}

i just want to know how to download credential file or generate from other file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions