Permission of AWS bedrock Claude 3.5 Sonnet on US East (N. Virginia)

0

HOW can I access Claude 3.5 Sonnet using AWS bedrock on US East (N. Virginia)? As doc says, I've tried to get an response from the model (Claude 3.5), but I got API call returns that it is not supported.

JH
preguntada hace 2 meses193 visualizaciones
3 Respuestas
1

Hello.

Did you enable model access for Claude 3.5 Sonnet in the Northern Virginia region using the steps in the document below?
https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html#model-access-modify

If it is enabled, the status should be "Access granted".
a

By the way, how do you make requests in the API?
Depending on the content of the error, the parameter used in the request may be incorrect, causing the error.

profile picture
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses
  • By the way, with AWS CLI, you can make a request as follows.

    aws bedrock-runtime invoke-model --model-id anthropic.claude-3-5-sonnet-20240620-v1:0 --body "{\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"hello.\"}]}],\"anthropic_version\":\"bedrock-2023-05-31\",\"max_tokens\":2000,\"temperature\":1,\"top_k\":250,\"top_p\":0.999,\"stop_sequences\":[]}" --cli-binary-format raw-in-base64-out --region us-east-1 invoke-model-output.txt
    
  • I think you are facing the same problem as the question in the URL below. If you have a problem like this, please contact AWS Support by opening a case under "Account and billing". Inquiries under "Account and billing" can be made free of charge. https://repost.aws/ja/questions/QU53zsiMRwQeGuXPg_7fVaiw/claude-3-5-sonnet-operation-not-allowed-error

  • What kind of message did you use to ask AWS Support? Did you mention that the status is "Unavailable" on the Amazon Bedrock model access screen? This issue cannot be resolved by the user, so you will need to ask AWS Support to enable it. Please send the following message to AWS Support.

    The status of Claude 3.5 Sonnet is "Unavailable" in the Amazon Bedrock Model Access console.
    The region we are using is the Northern Virginia region.
    Unable to successfully enable model access.
    Please check if there are any restrictions on your AWS account.
    
0

Enter image description here

Yes I checked the docs you just gave many times before, but I can not enable model access for Claude 3.5 Sonnet in the Northern Virginia region(; like image that I added)

JH
respondido hace 2 meses
0

Thank you for your time on my issues. As you said, I also already contact 'Account and Billing' category for support assist. But the answer is like attached picture. (answer that use re:Post). How can I activate Sonnet 3.5 on AWS bedrock for api usage? Enter image description here

JH
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas