Amazon Bedrock Plugin 0.0.17 can't add any model #266

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

Originally created by @jip-taku 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

After installing Amazon Bedrock plugin version 0.0.17, I tried to add a model, but it says:
"AccessDeniedException: You don't have access to the model with the specified model ID."
I’ve checked the input information, and everything seems correct.

Image

From the Error log, the input is "anthropic.claude-3-5-haiku-20241022-v1:0" in Available Model Name, but the backend still uses"us.anthropic.claude-3-haiku-20240307-v1:0"

✔️ Error log

[GIN] 2025/05/09 - 06:54:58 | 200 | 1.450853ms | 172.18.0.9 | GET "/plugin/fe3f08f2-3f46-4fe1-b13e-e4be31a06c7a/management/models?page=1&page_size=256"
2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Model: us.anthropic.claude-3-haiku-20240307-v1:0, Cache enabled: False
2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Model: us.anthropic.claude-3-haiku-20240307-v1:0, Cache supported: False
2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] System messages: []
2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Prompt messages: [{"role": "user", "content": [{"text": "ping"}]}]
No response

Originally created by @jip-taku 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 After installing Amazon Bedrock plugin version 0.0.17, I tried to add a model, but it says: "AccessDeniedException: You don't have access to the model with the specified model ID." I’ve checked the input information, and everything seems correct. ![Image](https://github.com/user-attachments/assets/58ff1545-7149-421c-9bbb-4fc17b8d081e) From the Error log, the input is "anthropic.claude-3-5-haiku-20241022-v1:0" in Available Model Name, but the backend still uses"us.anthropic.claude-3-haiku-20240307-v1:0" ### ✔️ Error log [GIN] 2025/05/09 - 06:54:58 | 200 | 1.450853ms | 172.18.0.9 | GET "/plugin/fe3f08f2-3f46-4fe1-b13e-e4be31a06c7a/management/models?page=1&page_size=256" 2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Model: us.anthropic.claude-3-haiku-20240307-v1:0, Cache enabled: False 2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Model: us.anthropic.claude-3-haiku-20240307-v1:0, Cache supported: False 2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] System messages: [] 2025/05/09 06:54:59 stdio.go:157: [ERROR]plugin langgenius/bedrock:0.0.17: invalid character 'C' looking for beginning of value status: original response: [CACHE DEBUG] Prompt messages: [{"role": "user", "content": [{"text": "ping"}]}] _No response_
yindo added the bug label 2026-02-16 10:18:40 -05:00
yindo closed this issue 2026-02-16 10:18:40 -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

@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
Author
Owner

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

Hi, @jip-taku. 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 "AccessDeniedException" error with Amazon Bedrock Plugin v0.0.17 on Dify 1.3.1 (self-hosted via Docker) when adding models.
  • The error is caused by the backend using an outdated model ID, leading to a mismatch and access denial.
  • Another user, stephonye, confirmed the same issue and linked it to a related bug report (#901).
  • The issue remains unresolved and affects the ability to add models properly.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I don’t hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @jip-taku. 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 "AccessDeniedException" error with Amazon Bedrock Plugin v0.0.17 on Dify 1.3.1 (self-hosted via Docker) when adding models. - The error is caused by the backend using an outdated model ID, leading to a mismatch and access denial. - Another user, stephonye, confirmed the same issue and linked it to a related bug report (#901). - The issue remains unresolved and affects the ability to add models properly. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I don’t 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#266