Watson Visual Recognition API中的invalid-api-key

我想通过调用Watson Visual Recognition API对图像进行分类 .

所以,我把我的终点定为

(a) and sent a request message as 
(b) However, I received an error message as 
(c) How can I resolve this issue?

仅供参考 . - API密钥是在IBM Bluemix上生成的 .

(a) End Point :https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify”;

(b) Captured Request Message

reqMessage: {"api_key":"XXXX" ,"url":"http://cfile5.uf.tistory.com/image/1876DE4C4F29F9F13BB066",
"version":"2016-05-20", "classifirer_ids":default","owners":"IBM"}

(c) Captured Response Message

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

回答(1)

2 years ago

我没有看到您的请求有任何问题 . 我知道Visual Recognition V3 API在您发布此问题的日期之前对密钥管理有一些打嗝,所以我认为这是服务器端错误 .

如果你再试一次它会起作用 .