Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Omanid Makbema
Tax Dodgers of the 21st Century
0
|
Posted - 2011.12.03 21:43:00 -
[1] - Quote
All,
I'm trying to get corp wallet API polls working, but I'm running into some strange issues with the API.
Trying to access corp/AccountBalance.xml.aspx using a CAK key (corporation key, access granted to everything), I'm getting a error 206 (Character must have accountant or junior accountant roles). This is using a corp API key however, which was created by the CEO character.
Trying to access account balance using a character key of the CEO (again, access granted to everything) results in error 221 (Illegal page request! Please verify the access granted by the key you are using!).
I tried both queries again, including the characterID parameter set to the char ID of the corp CEO, with the same results.
I know I'm just doing something wrong here, but I can't seem to figure out which combination of keys and IDs I should be using.
Any ideas?
Thanks,
-- O |
Dragonaire
Corax. PURgE Alliance
21
|
Posted - 2011.12.03 23:44:00 -
[2] - Quote
Make sure you aren't trying to mix old style parameters with new key or verse-versa.
Your parameters should look something like this /corp/AccountBalance.xml.aspx?keyID=123&vCode=secret
You shouldn't need any other parameters for this API since corp keys are always per corp/char. One of the most common errors is people trying to use the key name instead of the ID since they miss it on the page where you get them.
Finds camping stations from the inside much easier. Designer of Yapeal for Eve API. Check out the Yapeal forum thread |
Bottle ofMilk
The Milkmen Test Alliance Please Ignore
5
|
Posted - 2011.12.04 18:52:00 -
[3] - Quote
I keep running into the same problem, although somewhere else. I've exhausted my imagination and am totally unsure what to do next (thanks documentation and useful error messages!).
I can get AccountBalance, including all accountIds and the balance. Fair enough. So I try to get the WalletJournal instead, and then it breaks, with the same "Illegal page request!" error, number 221.
Hope somebody knows what to do with that. |
Dragonaire
Corax. PURgE Alliance
21
|
Posted - 2011.12.04 19:03:00 -
[4] - Quote
For the corp WalletJournal you'll need to add another parameter accountKey=1000 for the master wallet up to 1006 for all of them. same thing with WalletTransactions.
Make sure you've read through http://wiki.eve-id.net/APIv2_Page_Index if you're having problems understand how to do stuff with the APIs Finds camping stations from the inside much easier. Designer of Yapeal for Eve API. Check out the Yapeal forum thread |
Bottle ofMilk
The Milkmen Test Alliance Please Ignore
5
|
Posted - 2011.12.04 19:21:00 -
[5] - Quote
I have done that; I tried pasting the code and results, but the forum won't let me. |
Bottle ofMilk
The Milkmen Test Alliance Please Ignore
5
|
Posted - 2011.12.04 19:23:00 -
[6] - Quote
I would like to add that third party programs all report "no access" as well. And by those I mean eve universe for iOS and eveHQ. Even though _all_ the options have been selected while creating the keys; and I'm testing it with CEO or Director characters. |
Dragonaire
Corax. PURgE Alliance
21
|
Posted - 2011.12.04 19:35:00 -
[7] - Quote
Have you tried the requests manually in a web browser? I've found what was wrong with my code many times in the past by having it show me the URL it was trying to use and then trying it directly. Sometimes just seeing the complete URL will let you find what's going wrong. Finds camping stations from the inside much easier. Designer of Yapeal for Eve API. Check out the Yapeal forum thread |
Bottle ofMilk
The Milkmen Test Alliance Please Ignore
5
|
Posted - 2011.12.04 23:54:00 -
[8] - Quote
Yes, yes, I have. I let it rest for two hours and then suddenly one of my new keys started working. As we say in test: "idkwtf".
Quite unreliable I guess, sadly so. |
Dragonaire
Corax. PURgE Alliance
21
|
Posted - 2011.12.05 00:06:00 -
[9] - Quote
If some of them are reused keys it might have been the old access was still being cached by CCP or for new keys it sometimes takes a while for them to be active. Usually only takes a few minutes for it to clear up in both cases but could be CCP was having some unknown issues and it was taking longer for some reason. Finds camping stations from the inside much easier. Designer of Yapeal for Eve API. Check out the Yapeal forum thread |
Omanid Makbema
Tax Dodgers of the 21st Century
0
|
Posted - 2011.12.05 00:34:00 -
[10] - Quote
Yep, just started automagically working for me too.
I guess I needed to give it more time after I created the key.
Thanks!
-- O |
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |