IBM Watson visual recognition - invalid API key

左心房为你撑大大i 提交于 2020-01-11 06:00:32

问题


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.

I always get:

{
  "status": "ERROR",
  "statusInfo": "invalid-api-key"
}

I got my key from Bluemix 3 hours ago (they said the key should be working in 5 minutes).

Any ideas? Thanks

EDIT

Since this morning, I have another error:

{
  "status": "ERROR",
  "statusInfo": "invalid-api-key-permissions"
}

Is this me or Watson is still under maintenance?


回答1:


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).



来源:https://stackoverflow.com/questions/37927516/ibm-watson-visual-recognition-invalid-api-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!