IBM Watson-Conversation API集成返回“找不到资源"错误(404) [英] IBM Watson - Conversation API integration returns Resource Not Found error (404)
问题描述
我正在尝试整合来自salesforce的watson(Http Callout),并收到404错误.然后我尝试使用Postman工具进行相同操作,但得到相同的结果
I am trying to integrate watson from salesforce (Http Callout) and received 404 error. Then I tried the sameusing Postman tool but getting the same result
在请求标头中添加了会话凭据
Added conversation credentials in request header
请求端点
{
"application/json": {
"input": {
"text": "Hi"
},
"alternate_intents": true
}
}
响应正文
{
"error": "Resource not found"
}
状态
404 Not found
请让我知道这里的问题.我不确定在端点中添加版本和工作区ID的方式是否错误
Please let me know what is the issue here. I am not sure whether the way I added version and workspace id in the endpoint went wrong
推荐答案
我遇到了同样的问题,我发现只是速率限制起作用了.
I had the same issue and I found that it's simply rate limiting that kicks in.
根据文档此处对端点没有限制,但是事实证明这是不正确的.如果您快速连续发送几千封邮件,您将开始收到404 Not Found直到配额重置,这大约需要1个小时.
According to the docs here there is no limit for the endpoint, however that turns out to be untrue. If you send a few thousand messages in quick succession, you'll start getting 404 Not Found until the quota resets, which seems to take around 1 hour.
这篇关于IBM Watson-Conversation API集成返回“找不到资源"错误(404)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!