When using the AWS Bedrock, requests fail with a 403 error if the specified model ID contains a colon (:), which is commonly present in official Bedrock model version identifiers (e.g. :0). This prevents usage of several supported Bedrock models.
Neo4j version: 2026.02.3
Operating system: Amazon Linux 2023
Installation method: Docker
API/Driver: Docker - Cypher
Steps to reproduce
- Make sure server has access right to invoke bedrock model
- Open neo4j browser
- Input the followings:
CALL apoc.ml.bedrock.custom(
{ inputText: 'hello world' },
{ region: 'us-east-1', model: 'amazon.titan-embed-text-v2:0' }
) YIELD value
- Run
Expected behavior
Return embedding results
Actual behavior
Return the following error:
52U00: Procedure exception - custom procedure execution error cause
Execution of the procedure apoc.ml.bedrock.custom() failed due to java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://bedrock-runtime.us-east-1.amazonaws.com/model/amazon.titan-embed-text-v2:0/invoke.
It also appears that any model ID containing a colon (:) consistently triggers the same 403 error. For example, using amazon.titan-embed-text-v1:xxx (which does not exist) results in the same failure, suggesting the issue is related to the presence of : in the model identifier rather than a specific model.
When using the AWS Bedrock, requests fail with a 403 error if the specified model ID contains a colon (
:), which is commonly present in official Bedrock model version identifiers (e.g.:0). This prevents usage of several supported Bedrock models.Neo4j version: 2026.02.3
Operating system: Amazon Linux 2023
Installation method: Docker
API/Driver: Docker - Cypher
Steps to reproduce
Expected behavior
Return embedding results
Actual behavior
Return the following error:
It also appears that any model ID containing a colon (
:) consistently triggers the same 403 error. For example, usingamazon.titan-embed-text-v1:xxx(which does not exist) results in the same failure, suggesting the issue is related to the presence of:in the model identifier rather than a specific model.