We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
版本:v4.8.5 部分代码:
api_key='fastgpt-hSp' headers = { "Authorization": f'Bearer {api_key}', 'Content-Type':'application/json' } def create_order(): url=f'{base_url}/support/wallet/usage/createTrainingUsage' body={'name':'test.docx'} r=requests.post(url,json=body,headers=headers) print(r.text)
报错:{"code":501000,"statusText":"unAuthDataset","message":"core.dataset.error.unAuthDataset","data":null}
api_key是对的,其他接口能用,换应用的api_key也是这个提示
The text was updated successfully, but these errors were encountered:
我试了试,没发现问题
Sorry, something went wrong.
看你截图才知道要加datasetID参数,文档上没写,https://doc.fastgpt.in/docs/development/openapi/dataset/#%E8%8E%B7%E5%8F%96%E9%9B%86%E5%90%88%E5%88%97%E8%A1%A8
发错了,是https://doc.fastgpt.in/docs/development/openapi/dataset/#%E5%88%9B%E5%BB%BA%E8%AE%AD%E7%BB%83%E8%AE%A2%E5%8D%95469%E5%9C%B0%E5%9D%80%E5%8F%91%E7%94%9F%E6%94%B9%E5%8A%A8
更新下 #1947
No branches or pull requests
版本:v4.8.5
部分代码:
报错:{"code":501000,"statusText":"unAuthDataset","message":"core.dataset.error.unAuthDataset","data":null}
api_key是对的,其他接口能用,换应用的api_key也是这个提示
The text was updated successfully, but these errors were encountered: