If the newly generated Anthropic API Key is used within Dify, it will result in a 404 error and the inability to save the API Key due to the lack of access to certain deprecated models #419

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

Originally created by @saga0324 on GitHub (Jul 2, 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.5.1

Plugin version

0.0.14

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

If the newly generated Anthropic API Key is used within Dify, it will result in a 404 error and the inability to save the API Key due to the lack of access to certain deprecated models

Image

✔️ Error log

Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'model: claude-3-opus-20240229'}}

Originally created by @saga0324 on GitHub (Jul 2, 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.5.1 ### Plugin version 0.0.14 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce If the newly generated Anthropic API Key is used within Dify, it will result in a 404 error and the inability to save the API Key due to the lack of access to certain deprecated models ![Image](https://github.com/user-attachments/assets/3ce8b1f4-cafd-4e9f-b598-10d0f186ea7a) ### ✔️ Error log Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'model: claude-3-opus-20240229'}}
yindo added the bug label 2026-02-16 10:19:22 -05:00
yindo closed this issue 2026-02-16 10:19:22 -05:00
Author
Owner

@hjlarry commented on GitHub (Jul 2, 2025):

anthropic.zip

I changed the validate model, Can you test if it works? I don't have an API key.

@hjlarry commented on GitHub (Jul 2, 2025): [anthropic.zip](https://github.com/user-attachments/files/21027010/anthropic.zip) I changed the validate model, Can you test if it works? I don't have an API key.
Author
Owner

@saga0324 commented on GitHub (Jul 2, 2025):

anthropic.zip

I changed the validate model, Can you test if it works? I don't have an API key.

It response below error when I installing the plugin
init environment for plugin langgenius/anthropic:0.0.15 failed too many times, you should consider the package is corrupted or your network is unstable

@saga0324 commented on GitHub (Jul 2, 2025): > [anthropic.zip](https://github.com/user-attachments/files/21027010/anthropic.zip) > > I changed the validate model, Can you test if it works? I don't have an API key. It response below error when I installing the plugin init environment for plugin langgenius/anthropic:0.0.15 failed too many times, you should consider the package is corrupted or your network is unstable
Author
Owner

@hjlarry commented on GitHub (Jul 2, 2025):

can you try it on the cloud.dify.ai? it may caused by network error

@hjlarry commented on GitHub (Jul 2, 2025): can you try it on the cloud.dify.ai? it may caused by network error
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#419