These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Accessing corp API info returns error 221

Author
Xenoxsis
State War Academy
Caldari State
#1 - 2012-07-11 12:28:42 UTC
Hi everyone,

I'm trying to so far just test the API through a web browser. First I tried the charactersheet using:

https://api.eveonline.com/char/CharacterSheet.xml.aspx?keyId=KKKKKKK&vCode=VVVVVVVVV&characterId=CCCCCCC

Which works absolutely fine. Next I tried looking at the corp industry info (which is what I really wanted) using:

https://api.eveonline.com/corp/IndustryJobs.xml.aspx?keyId=KKKKKKK&vCode=VVVVVVVVV&characterId=CCCCCCC

But it returns with: Illegal page request! Please verify the access granted by the key you are using!

I have no clue why, I'm positive that its a FULL ACCESS api code. I checked several times, so I should be able to access the corp info.

I believe through much reading on the subject, that 221 is an indication that the API has insufficiant privileges. Since this is not the case, I thought that insufficiant corp access (roles and such) might be the problem.

I'm not the CEO of the corp in question, but in eve I have access to see corp industry jobs, make them on behalf of the corp and so on. So in my mind I should have the necessary rights. I am not certain of this though. Is there any specific rights needed before your corp info can accessed through the api? If yes, which rights are needed? Or is it a different problem entirely?
Vessper
Dark Mason Society
#2 - 2012-07-11 14:01:07 UTC
You cannot use a character API key to look at corporate information. For that, you need a corporate-specific API key which only CEOs and directors can provide.

Therefore you will need to ask your CEO or a director to provide you with a corp key that has access to the information you require. They should be able to provide you with a key for just the Industry Jobs API.
Desmont McCallock
#3 - 2012-07-11 14:06:51 UTC
Xenoxsis
State War Academy
Caldari State
#4 - 2012-07-11 16:53:01 UTC
Oh I had misunderstood that point - Thank you so much :)