[BUG] API Error: undefined is not an object (evaluating 'P.sso_region')

Resolved 💬 2 comments Opened Mar 12, 2026 by jay1999ke Closed Apr 10, 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?

I'm using AWS bedrock and i'm getting the following error on any prompt:

❯ fix lint error                                                                        
  ⎿  API Error: undefined is not an object (evaluating 'P.sso_region')  

Auth via AWS passes - but the prompt itself fails.

What Should Happen?

No error.

Error Messages/Logs

Steps to Reproduce

Not sure.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.74

Platform

AWS Bedrock

Operating System

Ubuntu/Debian Linux

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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