Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PRACHI2610 opened this issue Dec 3, 2024 · 0 comments
Open

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

PRACHI2610 opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PRACHI2610
Copy link

PRACHI2610 commented Dec 3, 2024

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"

@PRACHI2610 PRACHI2610 added the bug Something isn't working label Dec 3, 2024
@PRACHI2610 PRACHI2610 changed the title Amazon Bedrock Workshop - [Bug] Amazon Bedrock Workshop - [Bug] model identifier invalid Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant