Amazon Bedrock (Runtime API) error
Amazon Bedrock 404 ResourceNotFoundException: what it means and how to fix it
404 ResourceNotFoundExceptionRetry? NoLast verified 2 documented fixes3 sources
What it means
The specified resource ARN was not found. The troubleshooting guide documents this as ResourceNotFound: the requested resource could not be found.
Causes
- Incorrect model ID, endpoint name, or other resource identifier
How to fix it
- Fix 1.
Verify the correctness of the model ID, endpoint name, or other resource identifiers in your request.
- Fix 2.
Implement a fallback to alternative models or endpoints, and use ListFoundationModels to learn which foundation models are available.
More Amazon Bedrock errors
All 22 Amazon Bedrock errorsHTTP 404 at other providers
Compare 404 across providers404 not_found_errorRetry? Not statedAnthropic API404 Not FoundRetry? Not statedAzure OpenAI404 Not FoundRetry? Not statedCohere API404 not_foundRetry? NoGemini API404 model_not_foundRetry? NoGemini API404 NOT_FOUNDRetry? NoGemini API404 Not FoundRetry? Not statedGroq API404 Not foundRetry? Not statedMistral API404 NotFoundErrorRetry? Not statedOpenAI API404 image_not_foundRetry? Not statedOpenRouter404 not_foundRetry? Not statedOpenRouter404 NOT_FOUNDRetry? NoVertex AI
FAQ
What does the Amazon Bedrock error "404 ResourceNotFoundException" mean?
The specified resource ARN was not found. The troubleshooting guide documents this as ResourceNotFound: the requested resource could not be found.
How do I fix Amazon Bedrock "404 ResourceNotFoundException"?
There are 2 documented fixes. Start with the first: Verify the correctness of the model ID, endpoint name, or other resource identifiers in your request.
Should I retry Amazon Bedrock "404 ResourceNotFoundException"?
No. The official docs treat this error as not retryable: fix the cause before sending the request again.
Which other AI APIs return HTTP 404?
Per their official error docs: Anthropic API (404 not_found_error), Azure OpenAI (404 Not Found), Cohere API (404 Not Found), Gemini API (404 not_found; 404 model_not_found; 404 NOT_FOUND), Groq API (404 Not Found), Mistral API (404 Not found), OpenAI API (404 NotFoundError), OpenRouter (404 image_not_found; 404 not_found), Vertex AI (404 NOT_FOUND), xAI API (404 Not Found).
Sources
Last verified against 3 sources: Amazon Bedrock's official docs and official SDK repositories.
- docs.aws.amazon.comhttps://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html
- docs.aws.amazon.comhttps://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html
- docs.aws.amazon.comhttps://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.