[BUG] Many Times in claude i recived this api error message: API Error: request to https://oauth2.googleapis.com/token failed

Resolved 💬 4 comments Opened Mar 11, 2026 by tushar-ambuskar-frequence Closed Apr 13, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Many Times in claude i have recived this api error message:

API Error: request to https://oauth2.googleapis.com/token failed

when i checked or search any other things my tiokens are genereated so asked claude what i can do it suggest me to log issue
Actual issue

<img width="1883" height="317" alt="Image" src="https://github.com/user-attachments/assets/ed148fd3-9f6b-45f4-893f-bc79b185ef84" />

!Image

What Should Happen?

I should not able to get such API error in my claude console its really irritating

Error Messages/Logs

API error API Error: request
to https://oauth2.googleapis.com/token failed

Steps to Reproduce

  1. Open the Ubuntu 22.04 Application
  2. Add the claude command it asked for workspace i said yes trust this folder
  3. I give prompt to fetch the JIRA ticket and tell me about it
  4. I encounter API error API Error: request to https://oauth2.googleapis.com/token failed
  5. Even i checked the JIRA connection its say The JIRA API connection is working correctly
  6. Please resolve this API error problem for my system

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.72 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗