mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
404 error returned when using the Hugging Face Inference API from Dify #329
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 @fukuda-masayuki on GitHub (Jun 1, 2025).
Self Checks
Dify version
1.4.0
Plugin version
0.0.4
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Overview
When selecting Hugging Face Inference API as an Embedding model in Dify and attempting to register the model intfloat/multilingual-e5-large-instruct, a 404 error occurs.
Steps to Reproduce
Expected Behavior
The model should be registered successfully, and test requests should execute without errors.
Additional Information
cURL Comparison
Successful request
Failed request
Suspected Cause
Starting around late-2024, Hugging Face Inference API migrated to router-based URLs.
Dify still issues requests to the older URL pattern (https://api-inference.huggingface.co/pipeline/...), which now returns 404.
Related discussion about the endpoint change (different model):
https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2/discussions/116
✔️ Error log
@dosubot[bot] commented on GitHub (Aug 17, 2025):
Hi, @fukuda-masayuki. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!