问题
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