Skip to content

How do I troubleshoot the "503 Service Unavailable" error in Amazon Bedrock?

3 minute read
0

I want to troubleshoot the "503 Service Unavailable" error that I receive when I use Amazon Bedrock on-demand resources. I haven't exceeded the AWS account quotas.

Short description

This article applies to Amazon Bedrock runtime API operations, such as InvokeModel and Converse. The Bedrock Mantle endpoints Messages, Chat Completions, and Responses use different routing and aren't covered in this article.

Resolution

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshooting errors for the AWS CLI. Also, make sure that you're using the most recent AWS CLI version.

You receive the "503 Service Unavailable" error message for server-side exceptions that occur when the server can't respond because of failures. The error also occurs when a surge in requests strains shared resources or when shared capacity's constrained at peak times. To identify the cause of the error, complete the following actions.

Check the service status

If you can't access Amazon Bedrock, then check the service availability on the AWS Health Dashboard. Check whether there are active issues with Amazon Bedrock in your AWS Region.

Retry the request

To check whether the error results from a temporary increase to API demand or shared capacity constraints, use exponential backoff to retry the request. This method reduces the load on the server and improves the likelihood of a successful request.

AWS SDKs often have built-in retry logic. Configure the retry behavior for your AWS SDK based on your requirements.

Use cross-Region inference or switch to another Region

Amazon Bedrock provides two types of cross-Region inference profiles:

  • With geographic cross-Region, Amazon Bedrock keeps data processing within specified geographic boundaries. Supported geographies include US, EU, Australia, and Japan.
  • With global cross-Region inference, Amazon Bedrock routes inference requests to supported commercial Regions worldwide.
    Note: Not all models support cross-Region inference. Specific models are available only within a single Region. To check whether your model supports a geographic or global inference profile, see Models at a glance. If your model doesn't support cross-Region inference, then switch to another Region manually or use a different foundation model.

To list the inference profiles available in your Region, run the following list-inference-profiles command:

aws bedrock list-inference-profiles

Update your application to use the inference profile ID as the modelId in your InvokeModel or Converse API requests.

If you don't use cross-Region inference and require a different Region, then update your resources to use another Region. If you receive an "AccessDeniedException" error in the new Region, then confirm that you have model access in that Region.

If you use AWS SDKs, then check the compatibility of your AWS SDK. To update your AWS SDK to use anothe Region, run the following set command:

aws configure set region new-region-name

Note: Replace new-region-name with your Region.

Use other foundation models

If the demand increases or failures occur on a specific foundation model, then use another foundation model.

Note: The required parameters are different for each foundation model. The Converse API works with Amazon Bedrock runtime models that support messages. For models that are available only on the bedrock-mantle endpoint, use a supported API such as the Messages API instead of Converse.

Related information

Route model inference requests across AWS Regions with cross-Region inference

Geographic cross-Region inference

Global cross-Region inference

AWS OFFICIALUpdated 3 months ago
3 Comments

This article was reviewed and updated on 2026-07-16.

EXPERT

replied 4 months ago

This article was reviewed and updated on 2026-08-05.

EXPERT

replied 3 months ago

This article was reviewed and updated on 2026-08-18.

EXPERT

replied 3 months ago