Please note the following communication with IBM support staff regarding an issue with the Alchemy key. Some clarification would be appreciated:
12/10/2016
ME:
Attempting to use Alchemy on my Drupal website but getting the following: Error making API call: invalid-api-key. Speedy solution appreciated
IBM/Alchemy Support Staff
Thanks for contact IBM Watson support. I checked you account, email@hotmail.com, Your key, xxxxxxxxxx... is active. I then tested your api key with a example Alchemy API method, emotion analysis, http://www.ibm.com/watson/developercloud/alchemy-language/api/v1/#emotio...
curl -X POST -d "outputMode=json" -d "url=http://www.charliechaplin.com/en/synopsis/articles/29-The-Great-
Dictator-s-Speech" "https://gateway-a.watsonplatform.net/calls/url/URLGetEmotion?apikey=xxxxxxx..."
It does return expected output, with out any error, as attached screen-shot.
Can you please provide
1. detail request you send to Alchemy API which facing the error,
2. log info, and screen-shot present the error
3. if possible, please provide network trace info, like HAR output as well
so that I can go further check.
ME:
Thanks for your reply. I am using the Drupal Alchemy module along with Content Analysis API module to autotag my content. There is a separate error output related to the Content Analysis API module "Notice: Undefined index: #score in contentanalysis_save_status()..." but I don't believe that's the cause of the invalid-api-key error. There is no other error in my logs related to Alchemy.
IBM/Alchemy Support Staff
I am working on Josephs team for ALchemyAPI. I have contacted the product release and development team on your behalf. We should hear back from them tomorrow sometime.
I see Joseph has already tested some core functionality of your API key, however I have a feeling the issue may be with the Drupal module itself. The Drupal module is a 3rd party tool and not supported by IBM, however I hope the dev team can come back with some advice on how to improve the integration or where the issue may be.
Thanks for your patience.
regards
ME:
Thanks Peter. This functionality would greatly enhance my website.
IBM/Alchemy Support Staff
I have some unfortunate news, the product team has advised me that the Drupal plugins has not been tested or supported for almost 2 years, even before the IBM / AlchemyAPI takeover.
There are no plans for further support. I have mentioned to the team that the website should remove this or be updated accordingly.
regards
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | alchemy_key_no_go.JPG | 21.85 KB | OanaD |
Comments
Comment #2
garchris commentedComment #3
garchris commentedComment #4
b-reid commentedAfter further research into this module, AlchemyAPI used to have a php SDK that supported third party modules like this one. After the IBM take over, a php SDK is no longer supported or even available. That makes this module essentially deprecated, and no longer supported. I will be leaving this issue active for reference, until the module has been deprecated.
Comment #5
OanaD commentedThank you for this post. This is the step I am stuck in while installing modules for keyword search capabilities in my Drupal 7 site. By following instructions dutifully along the way, I also now have an IBM Bluemix account, which I set up just to get this key and don't need otherwise. This update about Alchemy's obsolete status should go at the top of all Alchemy-related posts, and be included in all posts regarding keyword search modules and packages. I will try to use the other modules and APIs without Alchemy. Thanks again for this valuable exchange with the IBM folks. (Regarding the image: what to ignore when prompted in Drupal).