Bedrock Plugin report error occurred when calling the Qwen and deepseek models #732

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

Originally created by @Alex-lsky on GitHub (Oct 17, 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.7.1

Plugin version

0.42

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The Qwen and deepseek models cannot be invoked using bedrock, but it is normal to invoke the claude model

Image Image

✔️ Error log

[bedrock] Error: PluginInvokeError: {"args":{"description":"[models] Error: Got unknown model prefix qwen"},"error_type":"InvokeError","message":"[models] Error: Got unknown model prefix qwen"}

Originally created by @Alex-lsky on GitHub (Oct 17, 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.7.1 ### Plugin version 0.42 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The Qwen and deepseek models cannot be invoked using bedrock, but it is normal to invoke the claude model <img width="360" height="152" alt="Image" src="https://github.com/user-attachments/assets/8d1e4398-08fe-47c2-a10e-b3589ffe36fc" /> <img width="347" height="364" alt="Image" src="https://github.com/user-attachments/assets/fdc97e94-7796-4d3d-a419-2323e370c3d5" /> ### ✔️ Error log [bedrock] Error: PluginInvokeError: {"args":{"description":"[models] Error: Got unknown model prefix qwen"},"error_type":"InvokeError","message":"[models] Error: Got unknown model prefix qwen"}
yindo added the bug label 2026-02-16 10:20:19 -05:00
yindo closed this issue 2026-02-16 10:20:19 -05:00
Author
Owner

@taminaho commented on GitHub (Oct 29, 2025):

I also face same error with openai/gpt-oss-20b and openai/gpt-oss-120b on amazon bedrock.

Error log

[bedrock] Error: PluginInvokeError: {"args":{"description":"[models] Error: Got unknown model prefix openai"},"error_type":"InvokeError","message":"[models] Error: Got unknown model prefix openai"}
@taminaho commented on GitHub (Oct 29, 2025): I also face same error with openai/gpt-oss-20b and openai/gpt-oss-120b on amazon bedrock. ## Error log ```bash [bedrock] Error: PluginInvokeError: {"args":{"description":"[models] Error: Got unknown model prefix openai"},"error_type":"InvokeError","message":"[models] Error: Got unknown model prefix openai"} ```
Author
Owner

@dosubot[bot] commented on GitHub (Nov 14, 2025):

Hi, @Alex-lsky. 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 that in Dify v1.7.1 with plugin v0.42 on a self-hosted Docker setup, the Bedrock plugin fails to invoke Qwen and deepseek models due to an unknown model prefix error.
  • The Claude model works fine, but the error log shows a PluginInvokeError citing an unknown model prefix "qwen."
  • Another user, taminaho, confirmed a similar issue with openai/gpt-oss-20b and openai/gpt-oss-120b models on Amazon Bedrock, encountering an unknown model prefix "openai" error.
  • This points to a broader problem with model prefix recognition in the Bedrock plugin.
  • 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 the dify-official-plugins repository by commenting here to keep the discussion open.
  • Otherwise, this issue will be automatically closed in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Nov 14, 2025): Hi, @Alex-lsky. 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 that in Dify v1.7.1 with plugin v0.42 on a self-hosted Docker setup, the Bedrock plugin fails to invoke Qwen and deepseek models due to an unknown model prefix error. - The Claude model works fine, but the error log shows a PluginInvokeError citing an unknown model prefix "qwen." - Another user, taminaho, confirmed a similar issue with openai/gpt-oss-20b and openai/gpt-oss-120b models on Amazon Bedrock, encountering an unknown model prefix "openai" error. - This points to a broader problem with model prefix recognition in the Bedrock plugin. - 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 the dify-official-plugins repository by commenting here to keep the discussion open. - Otherwise, this issue will be automatically closed in 5 days. 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#732