call marketplace api 404 not found #13245

Closed
opened 2026-02-21 19:11:14 -05:00 by yindo · 5 comments
Owner

Originally created by @zonggit on GitHub (Apr 23, 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.2.0

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @zonggit on GitHub (Apr 23, 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.2.0 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/8e1584ad-7cdc-439c-af55-b89a72eceaae) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🌚 invalid label 2026-02-21 19:11:14 -05:00
yindo closed this issue 2026-02-21 19:11:14 -05:00
Author
Owner

@crazywoola commented on GitHub (Apr 23, 2025):

Please check the environment variables in the .env files.

Also for bug report, please follow the rules.

https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md#L23-L33

@crazywoola commented on GitHub (Apr 23, 2025): Please check the environment variables in the `.env` files. Also for bug report, please follow the rules. https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md#L23-L33
Author
Owner

@zonggit commented on GitHub (Apr 23, 2025):

Response { type: "basic", url: "http://localhost:3000/plugins/search/advanced", redirected: false, status: 404, ok: false, statusText: "Not Found", headers: Headers(9), body: ReadableStream, bodyUsed: false }

@zonggit commented on GitHub (Apr 23, 2025): Response { type: "basic", url: "http://localhost:3000/plugins/search/advanced", redirected: false, status: 404, ok: false, statusText: "Not Found", headers: Headers(9), body: ReadableStream, bodyUsed: false }
Author
Owner

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

Hello @zonggit! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and become a contributor. I'm here while you wait for a human maintainer. Let's get started!

I found a similar open issue related to a 404 error when accessing the marketplace API in a self-hosted Dify environment. The issue might be caused by a mismatch between the port number in your API requests and the port configured in your Docker setup. Ensure that your API request URLs use the correct port number configured in your environment [1].

Additionally, in Dify version 1.0.0, there was a known issue where the API service was expected to run on port 5001 instead of 3000. This was resolved in later versions, so make sure your configuration aligns with the expected setup for version 1.2.0 [2].

If you haven't already, check your environment configuration settings, particularly the NEXT_PUBLIC_MARKETPLACE_API_PREFIX and NEXT_PUBLIC_MARKETPLACE_URL_PREFIX, to ensure they are correctly set for your self-hosted environment [3].

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 23, 2025): <!-- Greeting --> Hello @zonggit! I'm [Dosu](https://dosu.dev), your friendly bot here to help you solve bugs, answer questions, and become a contributor. I'm here while you wait for a human maintainer. Let's get started! <!-- Answer --> I found a similar open issue related to a 404 error when accessing the marketplace API in a self-hosted Dify environment. The issue might be caused by a mismatch between the port number in your API requests and the port configured in your Docker setup. Ensure that your API request URLs use the correct port number configured in your environment <sup>[[1]](https://github.com/langgenius/dify/issues/17282)</sup>. Additionally, in Dify version 1.0.0, there was a known issue where the API service was expected to run on port 5001 instead of 3000. This was resolved in later versions, so make sure your configuration aligns with the expected setup for version 1.2.0 <sup>[[2]](https://github.com/langgenius/dify/issues/14485)</sup>. If you haven't already, check your environment configuration settings, particularly the `NEXT_PUBLIC_MARKETPLACE_API_PREFIX` and `NEXT_PUBLIC_MARKETPLACE_URL_PREFIX`, to ensure they are correctly set for your self-hosted environment <sup>[[3]](https://github.com/langgenius/dify/blob/main/web/.env.example)</sup>. <!-- 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/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2bb19b46-873f-4d79-aede-1410179e120c?feedback_type=other)</sup>
Author
Owner

@examgpt-ai commented on GitHub (May 17, 2025):

Facing same error, any idea?

@examgpt-ai commented on GitHub (May 17, 2025): Facing same error, any idea?
Author
Owner

@resisterdkdk commented on GitHub (Nov 12, 2025):

Facing same error, any idea?

@resisterdkdk commented on GitHub (Nov 12, 2025): Facing same error, any idea?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13245