mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Open router api key "Credentials validation failed with status code 404" #119
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Morphus01 on GitHub (Mar 24, 2025).
Self Checks
Dify version
Last
Cloud or Self Hosted
Self Hosted (Source), Self Hosted (Docker)
Steps to reproduce
Installed in windows and direct to insert the api key won't work due the rror
✔️ Expected Behavior
No response
❌ Actual Behavior
@dosubot[bot] commented on GitHub (Mar 24, 2025):
Hey @Morphus01! 👋 I'm here to help you with bugs, questions, and more while you wait for a human maintainer. Let's squash those bugs together!
I found a similar closed issue regarding the "Credentials validation failed with status code 404" error. The suggested solution is to ensure that the
endpoint_urlprovided in the credentials is correct and points to a valid OpenAI API-compatible endpoint. The URL should end with a slash (/), and the specific paths for the endpoints should be correctly appended based on the mode (eitherchat/completions,completions, orembeddings). Additionally, verify that the API server is running and the endpoint is correctly configured to handle the requests [1].For the correct format and structure of the
endpoint_urlin the Dify configuration for OpenRouter, it should be:Replace
your-domain.comwith your actual domain, and{hook_id}will be dynamically replaced with the specific hook ID [2].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