-->

IBM Watson visual recognition - invalid API key

2019-02-18 01:39发布

问题:

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