Bedrock Model Access Errors: “Operation Not Allowed”, INVALID_PAYMENT_INSTRUMENT and “Invalid Form Data”

Logeshwaran
—

Bedrock model access errors, such as “Operation not allowed”, INVALID_PAYMENT_INSTRUMENT and “Invalid form data”, all come from the one-time setup a third-party model needs before your first call.

⚡ Quick Answer

• You usually don’t need to “request access” any more.

• Most Bedrock models are on by default, and the first call to a third-party model starts an AWS Marketplace subscription automatically.

• For that to work your IAM role needs aws-marketplace:Subscribe, Unsubscribe and ViewSubscriptions, the account needs a payment method Marketplace accepts, and older Anthropic models need a one-time use case form.

• Fix whichever is missing, wait a couple of minutes, and call the model again.

The surprise: the first call can succeed and the next ones fail. The subscription is set up in the background for up to 15 minutes; if a prerequisite is missing, it fails quietly and later calls return AccessDeniedException.

Jake set up a second AWS account for his shop’s test environment. The parts chatbot answered once there, then every call failed, and the console showed “Operation not allowed” when he tried to turn on the model.

Jake: "It worked once. Then it didn’t. How?"

Ethan: "The first call kicked off the model’s subscription. That subscription failed because this account is missing a permission, and every call after that is refused."

How Bedrock model access works now

The old “request access” page is mostly history. The current model access rules:

RequirementApplies toWhat breaks without it
AWS Marketplace permissions (Subscribe, Unsubscribe, ViewSubscriptions)Third-party models, first callSubscription fails; AccessDeniedException
A payment method Marketplace acceptsThird-party modelsSubscription fails; INVALID_PAYMENT_INSTRUMENT
First Time Use (use case) formAnthropic models earlier than Claude Opus 4.7 on bedrock-runtimeAccessDeniedException; “Operation not allowed” in the console
Additional account-level accessA few modelsAccessDeniedException even with everything else in place

Default access covers every commercial Region where the model is offered. The first call to a third-party model sets up the subscription in the background (up to 15 minutes); after you fix a missing permission, it can take about 2 minutes to complete.

“Operation not allowed” when turning on a model

This message appears in the console when the access request itself is refused. Work through it in this order:

  1. Skip the button: with default access, invoke the model directly (below) and read the error you get back.
  2. For an older Anthropic model, submit the use case form first; the console request fails without it, and it doesn’t warn you for other providers.
  3. Check that the person or role clicking has the three aws-marketplace permissions.
  4. On a brand-new AWS account, let account setup and payment verification finish; several people saw this error disappear once the account was fully active.

💻 Where to run these commands

Easiest: AWS CloudShell, nothing to install. Sign in to the AWS Management Console, choose your Region at the top right, then click the CloudShell icon (a small >_ terminal symbol) in the top bar, or type CloudShell in the search box and open it. When the $ prompt appears, paste a command and press Enter. CloudShell already has the AWS CLI, uses your console permissions and costs nothing extra.

On your own computer: install AWS CLI version 2 (installers for Windows, macOS and Linux are on the AWS CLI page), run aws configure once (or aws configure sso if your company signs in through single sign-on), and check it works with aws sts get-caller-identity. Then paste commands into Terminal on Mac or Linux, or PowerShell or Command Prompt on Windows.

Windows tip: a line ending in a backslash ( \ ) continues on the next line in CloudShell, Mac and Linux. In PowerShell use a backtick ( ` ) instead, in Command Prompt a caret ( ^ ), or simply join the lines into one. JSON inside single quotes works as shown in CloudShell; on Windows, save the JSON in a file and pass it as file://name.json.

Python examples: save the code in a file such as script.py, install the AWS SDK with pip install boto3, and run python script.py (python3 on Mac and Linux). It uses the same credentials as the AWS CLI; CloudShell has Python and boto3 ready.

Replace example values such as my-bucket, my-function, 111122223333 (an account ID) and us-east-1 with your own.

aws bedrock-runtime converse --region us-east-1 \
  --model-id us.amazon.nova-lite-v1:0 \
  --messages '[{"role":"user","content":[{"text":"ping"}]}]'

Jake: "So the button doesn’t matter any more?"

Ethan: "For most models, no. The first real call does the subscribing; we just have to give it what it needs."

Grant the AWS Marketplace permissions

Add this statement to the role that makes the first call. The Marketplace permissions page shows how to narrow it to specific product IDs:

{
  "Effect": "Allow",
  "Action": [
    "aws-marketplace:Subscribe",
    "aws-marketplace:Unsubscribe",
    "aws-marketplace:ViewSubscriptions"
  ],
  "Resource": "*"
}

After adding it, wait about two minutes and call the model again. Policy JSON new to you? See IAM policies explained.

INVALID_PAYMENT_INSTRUMENT

Third-party models are sold through AWS Marketplace, which needs a valid payment method on the account. When the default method doesn’t pass that check, the subscription fails with INVALID_PAYMENT_INSTRUMENT, even though the rest of AWS bills fine. Fixes people have reported:

  • Make a credit card the default payment method in Billing and Cost Management > Payment preferences, trigger the subscription (invoke the model), then switch back if you need to. A SEPA bank account as default was the common factor.
  • If changing the default isn’t an option, add a payment profile for each AWS seller your account is billed by, such as AWS Inc. and AWS EMEA, in Payment preferences > Payment profiles on the management account.
  • In an AWS Organization, make these changes in the management (payer) account.

The Anthropic use case form, and “Invalid form data”

Anthropic models earlier than Claude Opus 4.7 need a one-time use case form before the first call, unless you use them through the Mantle endpoint. Submit it from the model catalog in the console, or with PutUseCaseForModelAccess:

import boto3, json
bedrock = boto3.client("bedrock", region_name="us-east-1")
form = {
    "companyName": "Jake's Auto Parts",
    "companyWebsite": "https://example.com",       # a GitHub or portfolio URL is fine for individuals
    "intendedUsers": "0",                          # 0 internal, 1 external, 2 both
    "industryOption": "Retail",
    "otherIndustryOption": "",
    "useCases": "Answer staff questions about parts stock and prices.",
}
bedrock.put_use_case_for_model_access(formData=json.dumps(form))   # boto3: the JSON string, no base64
FieldWhat to enterLimit
companyNameYour company, or your own name128 characters
companyWebsiteCompany site, or a GitHub, portfolio or project URL128 characters
intendedUsers0 internal, 1 external, 2 bothOne of 0, 1, 2
industryOptionAn industry from the console’s list128 characters
otherIndustryOptionFree text, or empty128 characters
useCasesWhat you will use the model for8,192 characters

“Invalid form data” almost always means the encoding or the fields are wrong. With boto3, pass the JSON string as above; with the AWS CLI, base64-encode the JSON exactly once. Keep all six fields, even when one is empty. useCases can be up to 8,192 characters, the other text fields up to 128.

Submitted but still denied? The model agreement can stay pending for a while; AWS emails you when it’s done. Check instead of guessing:

aws bedrock get-foundation-model-availability --region us-east-1 --model-id MODEL_ID

Read agreementAvailability in the output. Submitting from your organization’s management account covers the other accounts in the organization.

Turn on access from code (no console)

  1. aws bedrock list-foundation-model-agreement-offers --model-id MODEL_ID to get the offer token.
  2. For an Anthropic model that needs it, put-use-case-for-model-access as above.
  3. aws bedrock create-foundation-model-agreement --model-id MODEL_ID --offer-token TOKEN.
  4. aws bedrock get-foundation-model-availability --model-id MODEL_ID to confirm.

Useful for new accounts in an automated landing zone, so the first developer call doesn’t become the setup step.

Less common causes

  • IAM conditions on the first call: the subscribing call is authorized like any other. If bedrock:InvokeModel is limited with aws:SourceIp, make the first call from an allowed address; through a VPC endpoint that key isn’t present, so such a condition can’t be met.
  • A service control policy blocking the model or Marketplace actions in your organization.
  • Additional account-level access: some models need it on top of everything above; if every check passes and you’re still denied, contact AWS Sales.
  • AWS GovCloud: turn on third-party models in the linked commercial account, in us-east-1 or us-west-2.

If the error is about the model ID instead (“could not resolve the foundation model”), see the model ID fix; for agents, see Bedrock agent access denied.

For organizations: control which models people can use

Invoking a third-party model for the first time accepts its license terms. If legal review must come first, block model access with a service control policy or IAM, review the terms, then allow the approved models. Submit the Anthropic form once from the management account, and keep the Marketplace permissions on the roles that should be allowed to start subscriptions, not on every developer.

Jake’s fix

  1. Added the three aws-marketplace permissions to the test account’s role.
  2. Submitted the Anthropic use case form once, from the organization’s management account.
  3. Waited two minutes, called the model again: it answered, and kept answering.
  4. Added the same steps to the account setup checklist.

Jake: "So the next new account just works?"

For readers preparing for an AWS certification

We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.

Exams that test this topic: AI Practitioner (AIF-C01) • Solutions Architect – Associate (SAA-C03) • Security – Specialty (SCS-C03) • Developer – Associate (DVA-C03 from December 1, 2026).

Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:

1. A new account calls a third-party Bedrock model successfully once; later calls return AccessDeniedException. The role lacks AWS Marketplace permissions. What happened?

The first invocation started the model subscription in the background. It failed because the role lacks aws-marketplace:Subscribe, Unsubscribe and ViewSubscriptions, so later calls are denied. Add the permissions and retry after a few minutes.

2. Which prerequisites must be met for automatic access to a third-party model on Amazon Bedrock?

IAM permissions aws-marketplace:Subscribe, aws-marketplace:Unsubscribe and aws-marketplace:ViewSubscriptions, a payment method valid for AWS Marketplace purchases, and for older Anthropic models a submitted first-time use case form.

3. An organization must review provider license terms before any team can use a third-party Bedrock model. How should it be enforced?

Block model access with a service control policy or IAM policies, review the license terms, then allow approved models. The first invocation of a third-party model accepts its license.

4. A team submitted the Anthropic use case form successfully, but calls still return AccessDeniedException. What should they check?

Whether the model agreement is still pending: call GetFoundationModelAvailability and read agreementAvailability, or wait for the confirmation email.

5. A policy restricts bedrock:InvokeModel with an aws:SourceIp condition, and the first call goes through a VPC endpoint. Why does model access never get set up?

The subscribing call is authorized like any other InvokeModel request, and aws:SourceIp is not present for requests through a VPC endpoint, so the condition cannot be met and the subscription is never initiated.

Exam codes and dates change often. Our AWS certification changes page keeps track of what is current.

Ethan: "If it gets the same role and sits in the same organization, yes."

Official references for this guide

Frequently asked questions

Do I still need to request model access in Amazon Bedrock?

For most models, no. Access is on by default in commercial Regions, as long as your IAM role has the AWS Marketplace permissions. Some Anthropic models still need a one-time use case form, and a few models need extra account-level access.

What does "Operation not allowed" mean when requesting Bedrock model access?

The request to turn on access was refused. Typical reasons are a missing use case form for Anthropic models, missing Marketplace permissions, or a new account that hasn’t finished setup. With access now on by default, try invoking the model directly first.

What is INVALID_PAYMENT_INSTRUMENT in Bedrock?

The account’s payment method didn’t pass the AWS Marketplace check that third-party models need. People have fixed it by making a credit card the default payment method for a moment, or by adding a payment profile for each AWS seller.

Why does my first Bedrock call work and later ones fail?

The first call to a third-party model starts an AWS Marketplace subscription in the background, which can take up to 15 minutes. Calls may work meanwhile; if a prerequisite is missing, the subscription fails and later calls return AccessDeniedException.

Which IAM permissions do I need to use third-party Bedrock models?

aws-marketplace:Subscribe, aws-marketplace:Unsubscribe and aws-marketplace:ViewSubscriptions for the first subscription, plus bedrock:InvokeModel (or the Converse actions) for the calls themselves.

Which Anthropic models need the use case form?

Anthropic models earlier than Claude Opus 4.7 need the First Time Use form once per account, or once at the organization’s management account. It isn’t required when calling Anthropic models through the bedrock-mantle endpoint.

How do I fix "Invalid form data" from PutUseCaseForModelAccess?

Send the six fields exactly (companyName, companyWebsite, intendedUsers, industryOption, otherIndustryOption, useCases). With boto3, pass the JSON string; with the AWS CLI, base64-encode the JSON once. Double encoding is the usual cause.

I submitted the Anthropic form but still get AccessDeniedException. Why?

The model agreement can be pending for a while after a successful submission. AWS emails you when it is ready; call get-foundation-model-availability and check agreementAvailability instead of waiting.

Can I submit the Anthropic use case form without a company website?

Yes. Individual developers and students can give a personal portfolio, GitHub profile or project URL that describes the use case.

Does the use case form apply to all accounts in my AWS Organization?

If you submit it from the organization’s management account, the other accounts in the organization inherit it.

How do I enable Bedrock model access with the CLI?

List the offers with aws bedrock list-foundation-model-agreement-offers, submit the use case if the model needs it, create the agreement with create-foundation-model-agreement, then check get-foundation-model-availability.

Can an IAM condition block model access?

Yes. The first invocation is authorized like any other. If your policy limits bedrock:InvokeModel with a condition such as aws:SourceIp, the first call must satisfy it; through a VPC endpoint aws:SourceIp isn’t present at all.

Can my company review model licenses before anyone uses them?

Yes. Block model access with a service control policy or IAM, review the provider’s license terms, then allow the models you approve. Invoking a third-party model the first time counts as accepting its license.

Why do I get AccessDeniedException after meeting every prerequisite?

Some models need additional account-level access that the prerequisites don’t grant. If the model is offered in your Region and everything else checks out, contact AWS Sales.

How do I enable Bedrock models in AWS GovCloud?

For third-party models, enable access in the linked commercial account in us-east-1 or us-west-2, by invoking the model or through the SDK or CLI. It can take a few minutes to reach the GovCloud account.

Is model access the same in every Region?

Default access applies in every commercial Region where the model is offered. If the model isn’t offered in a Region, you get a model ID error there instead; see could not resolve the foundation model.

Revision note. Written November 30, 2026, against the current Bedrock model access documentation and the PutUseCaseForModelAccess API. “Well begun is half done”: set the permissions before the first call, and the rest takes care of itself.

Related