-
Notifications
You must be signed in to change notification settings - Fork 14k
new knowledge base metadata api by openapi methods (curl) return 404 #16179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can see our service API starts with dify/docker/docker-compose.yaml Line 10 in ac80c04
From provided information, I think you check this in above setting.
|
@crazywoola thanks for you rapid reply, maybe i'm not explain clearly, i just use official doc url for accessing curl example content easily, and using self-host docker version actually... i checked the env by the way, i tested in dify official cloud version by $ curl --location --request POST 'https://api.dify.ai/v1/datasets/XXX/metadata' --header 'Authorization: Bearer XXXX' --header 'Content-Type: application/json'--data-raw '{"type": "string", "name": "test"}' response 404 ... <!doctype html>
<html lang=en>
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p> |
Looking into it. |
Self Checks
Dify version
1.1.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I'm noticed new version is released! That cool! But when using in openapi methods to interactive services, i got 404 for all new metadata apis
just follow https://cloud.dify.ai/datasets?category=api doc usage of the
/datasets/{dataset_id}/metadata/built-in/{action}
api, and fullfil the target knowledge base{dataset_id}
and{api_key}
got result 404
by the way, directly operate on web ui is ok, maybe some code forgot to added to openapi
ref:
✔️ Expected Behavior
200 ok response
❌ Actual Behavior
404 not found
The text was updated successfully, but these errors were encountered: