问题描述
我正在尝试使用IBM Watson的API进行视觉识别.这是我正在发送的POST请求:https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={MY_API_KEY}&version=2016-05-20
,然后在body参数中指定我的图片.
I'm trying to use the visual recognition from IBM Watson using their API.Here is the POST request I am sending:https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={MY_API_KEY}&version=2016-05-20
and I specify my image in the body parameter.
我总是得到:
{
"status": "ERROR",
"statusInfo": "invalid-api-key"
}
3个小时前,我从Bluemix拿到了我的钥匙(他们说钥匙应该在5分钟内可用).
I got my key from Bluemix 3 hours ago (they said the key should be working in 5 minutes).
有什么想法吗?谢谢
编辑
自今天早上以来,我还有另一个错误:
Since this morning, I have another error:
{
"status": "ERROR",
"statusInfo": "invalid-api-key-permissions"
}
这是我还是沃森仍在维护中?
Is this me or Watson is still under maintenance?
推荐答案
视觉识别服务遇到识别键的问题;开发团队已于7月14日解决了该问题.( IBM developerWorks问答论坛,您可以在 Bluemix支持).
The Visual Recognition service was experiencing problems recognizing keys; the development team has resolved the problem as of July 14. (There is additional discussion of this issue on the IBM developerWorks Answers forum, and you can open a support ticket on a specific key issue at Bluemix support).
这篇关于IBM Watson视觉识别-无效的API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!