tongyi credentials outdated #756

Closed
opened 2026-02-16 10:20:24 -05:00 by yindo · 1 comment
Owner

Originally created by @crazywoola on GitHub (Oct 27, 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.9.2

Plugin version

0.0.57

Cloud or Self Hosted

Self Hosted (Docker), Cloud

Steps to reproduce

https://github.com/langgenius/dify-official-plugins/blob/39f5fb47ccbe8ebf08e8bb70c7d9e9379574a824/models/tongyi/provider/tongyi.py#L25

✔️ Error log

No response

Originally created by @crazywoola on GitHub (Oct 27, 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.9.2 ### Plugin version 0.0.57 ### Cloud or Self Hosted Self Hosted (Docker), Cloud ### Steps to reproduce https://github.com/langgenius/dify-official-plugins/blob/39f5fb47ccbe8ebf08e8bb70c7d9e9379574a824/models/tongyi/provider/tongyi.py#L25 ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:20:24 -05:00
yindo closed this issue 2026-02-16 10:20:24 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 27, 2025):

There is a known issue with Tongyi credential validation in recent plugin versions. The TongyiProvider relies on static credential values and does not automatically refresh or detect expired credentials, which can cause authentication failures if your API keys are rotated or expire. A recent fix ensures the model class is properly instantiated before validating credentials—this was merged in plugin version 0.0.56 and later, so make sure you are using at least that version for improved reliability (details).

If you still encounter issues, check that your API keys are current and correctly formatted, and consider generating a new key if you suspect the old one is expired or revoked. There is no built-in mechanism for automatic credential refresh, so manual updates are required if your credentials change.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 27, 2025): <!-- Answer --> There is a known issue with Tongyi credential validation in recent plugin versions. The TongyiProvider relies on static credential values and does not automatically refresh or detect expired credentials, which can cause authentication failures if your API keys are rotated or expire. A recent fix ensures the model class is properly instantiated before validating credentials—this was merged in plugin version 0.0.56 and later, so make sure you are using at least that version for improved reliability [(details)](https://github.com/langgenius/dify-official-plugins/pull/1881). If you still encounter issues, check that your API keys are current and correctly formatted, and consider generating a new key if you suspect the old one is expired or revoked. There is no built-in mechanism for automatic credential refresh, so manual updates are required if your credentials change. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0e421597-351c-4d99-81c6-42c1384d9d6c?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1936)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#756