Amazon Bedrock Plugin 0.0.17: Cannot set AWS Regions outside of US #271

Closed
opened 2026-02-16 10:18:45 -05:00 by yindo · 2 comments
Owner

Originally created by @bohnen on GitHub (May 9, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.1

Plugin version

0.0.17

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create an EC2 instance with an Instance profile allowing access to Bedrock.
    I used this cloudformation script https://gist.github.com/bohnen/365f81c893977a31b29f013da324eb1d
  2. Run dify with docker-compose
  3. Go to Settings and install the Bedrock model provider. Then, set "AWS Region" to be different from the US, e.g., Asia Pacific (Tokyo), got an error saying "Got unknown model prefix amazon".

Image

✔️ Error log

No error logs in docker-compose logs.

Originally created by @bohnen on GitHub (May 9, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.3.1 ### Plugin version 0.0.17 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Create an EC2 instance with an Instance profile allowing access to Bedrock. I used this cloudformation script https://gist.github.com/bohnen/365f81c893977a31b29f013da324eb1d 2. Run dify with docker-compose 3. Go to Settings and install the Bedrock model provider. Then, set "AWS Region" to be different from the US, e.g., Asia Pacific (Tokyo), got an error saying **"Got unknown model prefix amazon"**. ![Image](https://github.com/user-attachments/assets/4d3f0888-6133-4695-a5ef-17abccea7966) ### ✔️ Error log No error logs in `docker-compose logs`.
yindo added the bug label 2026-02-16 10:18:45 -05:00
yindo closed this issue 2026-02-16 10:18:45 -05:00
Author
Owner

@stephonye commented on GitHub (May 12, 2025):

I have the same problem and submitted Bug Issue #901 https://github.com/langgenius/dify-official-plugins/issues/901

Please merge these two bugs

@stephonye commented on GitHub (May 12, 2025): I have the same problem and submitted Bug Issue #901 https://github.com/langgenius/dify-official-plugins/issues/901 Please merge these two bugs
Author
Owner

@dosubot[bot] commented on GitHub (Aug 17, 2025):

Hi, @bohnen. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an error "Got unknown model prefix amazon" when setting the AWS Region outside the US in Dify v1.3.1 with Amazon Bedrock Plugin 0.0.17.
  • This occurs in a self-hosted Docker setup with no error logs visible in docker-compose.
  • Another user, stephonye, confirmed the same issue and submitted a related bug report (#901).
  • There has been a request to merge these two issues for better tracking.
  • The issue remains unresolved with no recent updates.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 17, 2025): Hi, @bohnen. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported an error "Got unknown model prefix amazon" when setting the AWS Region outside the US in Dify v1.3.1 with Amazon Bedrock Plugin 0.0.17. - This occurs in a self-hosted Docker setup with no error logs visible in docker-compose. - Another user, stephonye, confirmed the same issue and submitted a related bug report (#901). - There has been a request to merge these two issues for better tracking. - The issue remains unresolved with no recent updates. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#271