I have a local Drupal installation on my home machine to test. After a fresh install of the API module, I'm attempting to configure the module with my CEO API key. I enter the Key ID and Verification Code with the pre-configured access mask that the module requires.
I check the "Enable EVE API" checkbox and click "Update".
The settings page returns the following error: "There was an error with the API."
I've tried changing the key type from Character to Corporation. I've tried selecting All Characters or just the CEO character. I've tried a full access mask pulling all available information. Nothing seems to affect this error.
No other portions of the module have been enabled (Jabber, TS, etc.)
What am I missing?
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | There-was-an-error-with-the-API-2156387-11.patch | 571 bytes | 6run0 |
Comments
Comment #1
0mni commentedIt must be a Corporate Director/CEO API Key with all API options selected and no expiry.
Comment #2
VISTAWebsite commentedI'm still getting the error. :\
Character: The CEO of my corp (me)
Type: Character
Access Mask: 268435455 (all boxes selected)
No Expiry: Checked
Comment #3
0mni commentedType: Corporation
Comment #4
VISTAWebsite commentedChanged the type to Corporation. Still getting the error.
Comment #5
VISTAWebsite commentedIf it helps at all, this message keeps showing up in my logs:
EVE API returned an error with the HTTP request. (APIKeyInfo?keyID=2878841&vCode=kbrmblss0eogPQtc2dN4FbAPQUWLqrafj5zW0DSwjIYrJeyFRs4kxRe2TLc2JLES) Error: String could not be parsed as XML
Comment #6
0mni commentedThe error is telling u it had an issue parsing the xml returned from eve online. How often does it show up ?
You can see what EVE Online would return by sending this request in your browser:
https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=YOURKEYID&vC...
PS change your API Key you don't want to post this so anyone can see your API.
Comment #7
VISTAWebsite commentedI deleted that API key so no one else could check it. No worries. I just wanted to provide the error exactly as it appeared. :)
The error message appears on the log every time I try to submit my API key in the module. I checked the key against the link you provided and EVE returns the appropriate information about my character and corporation.
Could it have anything to do with the fact that I'm running my drupal install locally and not on an actual server?
Comment #8
0mni commentedIt's possible u don't have the your php setup correctly, make sure u have XML installed.
Comment #9
EvoSpyder commentedHaving the same issue with my new site.
Comment #10
0mni commented@EvoSpyder, info is appreaciated. When does it happen, what error are you getting, what type of server are you running on, test server, or production server ? Do you have CURL/XML php modules installed ?
Comment #11
6run0 commentedI have the same problem. I fix it.
Comment #12
6run0 commentedComment #13
0mni commented