Skip to content

com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized #111

@testing-blaze

Description

@testing-blaze

The API was working fine to fetch the data as per sample code on Google Sheets API v4. However, after regenerating the credential file frmo Google API Enable, i am seeing the subject error.

Sample Name

Quickstart

Expected Behavior

Successful API call to fetch data

Actual Behavior

Error : com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

Specifications

  • Java version (11)
  • OS (Mac)

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