There is an error with the Claude series models. #211

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

Originally created by @Moiyu1998 on GitHub (Apr 21, 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 search for existing issues, 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.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When calling the Claude 3.5 or Claude 3.7 models, the returned result is empty. Upon checking the logs, the following error was found: core.plugin.manager.exc.PluginInvokeError: PluginInvokeError: {"args":{},"error_type":"NotFoundError","message":"Error code: 404 - {'error': {'message': 'page not found'}}"}. Please refer to the image below for the detailed error information.

Image

Image

My Claude plugin version is 0.0.13, which is the latest version, as shown in the image below.

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @Moiyu1998 on GitHub (Apr 21, 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 [search for existing issues](https://github.com/langgenius/dify/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.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce When calling the Claude 3.5 or Claude 3.7 models, the returned result is empty. Upon checking the logs, the following error was found: core.plugin.manager.exc.PluginInvokeError: PluginInvokeError: {"args":{},"error_type":"NotFoundError","message":"Error code: 404 - {'error': {'message': 'page not found'}}"}. Please refer to the image below for the detailed error information. ![Image](https://github.com/user-attachments/assets/c3d7bf4d-6100-46fa-a20d-6389e9b95baa) ![Image](https://github.com/user-attachments/assets/ecef5eb4-97fe-422f-9621-b0063b85f053) My Claude plugin version is 0.0.13, which is the latest version, as shown in the image below. ![Image](https://github.com/user-attachments/assets/b45ccb88-71bb-430f-b02b-d716c00a1626) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:18:28 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 21, 2025):

The error you're encountering, PluginInvokeError with a NotFoundError, typically indicates that the plugin is unable to find the specified resource, resulting in a 404 error. Here are some steps you can take to resolve this issue:

  1. Check Plugin Configuration: Ensure that the Anthropic model provider is correctly configured in your Dify settings. Verify that the API key and endpoint URL are correctly set up.

  2. Update Timeout Settings: Modify the timeout settings in your docker-compose.middleware.yaml file. Ensure the following configuration is included:

    PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-60}
    PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-60}
    PIP_MIRROR_URL: ${PIP_MIRROR_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}
    

    This can help prevent timeout-related issues during plugin initialization [1].

  3. Check Connectivity: Ensure that there are no connectivity issues, such as blocked ports. Specifically, verify that port 443 is open for outbound connections, as this is necessary for accessing external resources like GitHub and Python package repositories [2].

  4. Verify Model Availability: Double-check that the specific Claude model versions you are trying to use are available and correctly installed. Sometimes, a mismatch in model versioning can lead to such errors.

  5. Review Logs for Additional Clues: Examine the logs for any additional error messages or clues that might indicate the root cause of the issue. This can provide more context on what might be going wrong.

By following these steps, you should be able to address the PluginInvokeError with a NotFoundError and ensure that the Claude models function correctly in your self-hosted Dify environment.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 21, 2025): <!-- Answer --> The error you're encountering, `PluginInvokeError` with a `NotFoundError`, typically indicates that the plugin is unable to find the specified resource, resulting in a 404 error. Here are some steps you can take to resolve this issue: 1. **Check Plugin Configuration**: Ensure that the Anthropic model provider is correctly configured in your Dify settings. Verify that the API key and endpoint URL are correctly set up. 2. **Update Timeout Settings**: Modify the timeout settings in your `docker-compose.middleware.yaml` file. Ensure the following configuration is included: ```yaml PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-60} PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-60} PIP_MIRROR_URL: ${PIP_MIRROR_URL:-https://pypi.tuna.tsinghua.edu.cn/simple} ``` This can help prevent timeout-related issues during plugin initialization <sup>[[1]](https://github.com/langgenius/dify/issues/16553)</sup>. 3. **Check Connectivity**: Ensure that there are no connectivity issues, such as blocked ports. Specifically, verify that port 443 is open for outbound connections, as this is necessary for accessing external resources like GitHub and Python package repositories <sup>[[2]](https://github.com/langgenius/dify/issues/16799)</sup>. 4. **Verify Model Availability**: Double-check that the specific Claude model versions you are trying to use are available and correctly installed. Sometimes, a mismatch in model versioning can lead to such errors. 5. **Review Logs for Additional Clues**: Examine the logs for any additional error messages or clues that might indicate the root cause of the issue. This can provide more context on what might be going wrong. By following these steps, you should be able to address the `PluginInvokeError` with a `NotFoundError` and ensure that the Claude models function correctly in your self-hosted Dify environment. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8b7b8908-169a-4d58-b77d-30e2a453d2ca?feedback_type=other)</sup>
Author
Owner

@Moiyu1998 commented on GitHub (Apr 21, 2025):

Image

@crazywoola @laipz8200 I printed the request body in the logs, which is the same as the one shown in the image above. Then, I used the curl command inside the container to send this request directly, and it returned the same error. I have done my best to help you locate the issue. I have noticed that other users have also reported this issue, but the issues were closed without resolving the problem. This appears to be a bug. Please investigate and resolve this issue, as the Claude model series is currently unusable.

@Moiyu1998 commented on GitHub (Apr 21, 2025): ![Image](https://github.com/user-attachments/assets/87fab7f2-62e4-4c8d-85c8-88215b01a33b) @crazywoola @laipz8200 I printed the request body in the logs, which is the same as the one shown in the image above. Then, I used the curl command inside the container to send this request directly, and it returned the same error. I have done my best to help you locate the issue. I have noticed that other users have also reported this issue, but the issues were closed without resolving the problem. This appears to be a bug. Please investigate and resolve this issue, as the Claude model series is currently unusable.
Author
Owner

@laipz8200 commented on GitHub (Apr 22, 2025):

I tried this model on our Cloud service, and it works well. I think you should upgrade to the latest version and try it again.

@laipz8200 commented on GitHub (Apr 22, 2025): I tried this model on our Cloud service, and it works well. I think you should upgrade to the latest version and try it again.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#211