- Newest
- Most votes
- Most comments
Based on the issues you're describing, it appears you're facing multiple access-related problems with Amazon Bedrock. Let me address each of your concerns:
-
For the errors like "failed to fetch," "the provided model identifier is invalid," and "operation not allowed" when trying to use models in the playground: These errors typically occur because you need to explicitly request access to specific foundation models before you can use them in Amazon Bedrock. Even with an active AWS account, you need to go through a model access approval process. Navigate to the Amazon Bedrock console, go to the "Model access" section, select the specific models you want to use, and submit a request for access. You'll need to wait for approval before you can use them in the playground.
-
Regarding the custom model import error: When importing custom models, you need to ensure you have all the required files in the proper format. For Hugging Face models, you typically need:
- .safetensors file (model weights in supported formats: FP32, FP16, or BF16)
- config.json
- tokenizer_config.json
- tokenizer.json
- tokenizer.model
If any of these files are missing or in an incompatible format, the import will fail. Additionally, make sure all files are at the root level of your S3 bucket.
- For the model access issue: It's unusual that you can only enable access to OpenAI open weight models but not others. This could indicate an account-level restriction or regional availability issue. Different models may have different availability across regions, so you might want to try requesting access in different supported regions.
Since you've already opened a support case and it's been escalated to the program engineering team, I recommend following up on that ticket for a definitive resolution. In the meantime, double-check that your IAM permissions include the necessary Bedrock permissions and that you're following the correct procedures for requesting model access.
Sources
ERROR in Bedrock playground: You have not filled out the request form. Fill out the form before getting access. | AWS re:Post
"Invalid Model Identifier Error in Amazon Bedrock and Unable to Request Specific Models" | AWS re:Post
Difficulties Accessing AWS Bedrock Models from AWS lambda | AWS re:Post
Issue importing magistral in AWS bedrock, cannot find model weight file | AWS re:Post
answered a year ago

Thank you for the response.
RE: