Skip to content

Amazon Bedrock Workshop - [Bug] model identifier invalid #315

@PRACHI2610

Description

@PRACHI2610

While running the amazon.titan-image-generator-v2 code throws error saying.
ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: The provided model identifier is invalid.

Code:
response = boto3_bedrock.invoke_model(
body=body,
modelId="amazon.titan-image-generator-v2:0",
accept="application/json",
contentType="application/json"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions