[BUG] InvokeModelWithResponseStream triggered with fable model on Bedrock

Open 💬 2 comments Opened Jun 19, 2026 by bocytko

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?

Using Claude CLI with AWS Bedrock and IAM user results in subscription to the eu.anthropic.claude-fable-5 model, which is seemingly unavailable due to obvious reasons. The user is not prompted for any confirmation.

This is unexpected because:

  1. User has not selected this model.
  2. The InvokeModelWithResponseStream call triggers an automatic AWS marketplace subscription to the model (visible on AWS side as CreateAgreementRequest) in the background without the user being aware that they triggered this subscription in the first place.
{
    "eventVersion": "1.11",
    "userIdentity": {
        "type": "IAMUser",
        "principalId": "...",
        "arn": "arn:aws:iam::XXXX:user/YYY",
        "accountId": "XXX",
        "userName": "YYY"
    },
    "eventTime": "2026-06-18T09:22:01Z",
    "eventSource": "bedrock.amazonaws.com",
    "eventName": "InvokeModelWithResponseStream",
    "awsRegion": "eu-central-1",
    "sourceIPAddress": "XXX",
    "userAgent": "claude-cli/2.1.181 (external, cli)",
    "errorCode": "ValidationException",
    "errorMessage": "data retention mode 'default' is not available for this model",
    "requestParameters": {
        "modelId": "eu.anthropic.claude-fable-5"
    },
    "responseElements": null,
    "additionalEventData": {
        "callWithBearerToken": true
    },
    "requestID": "XXX",
    "eventID": "XXX",
    "readOnly": true,
    "eventType": "AwsApiCall",
    "managementEvent": true,
    "recipientAccountId": "XXX",
    "eventCategory": "Management",
    "tlsDetails": {
        "tlsVersion": "TLSv1.3",
        "cipherSuite": "TLS_AES_128_GCM_SHA256",
        "clientProvidedHostHeader": "bedrock-runtime.eu-central-1.amazonaws.com"
    }
}

What Should Happen?

User should be prompted if they want to subscribe to the model.

Error Messages/Logs

Steps to Reproduce

AWS account with no active Fable subscription. Claude CLI configured to use Bedrock with inference profile and IAM user.

Claude Model

_No response_

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.181 (Claude Code)

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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