| Pages: [1] :: one page |
| Author |
Topic |

Bloemkoolsaus
Horizon.Inc Kingdom of Redemption
 |
Posted - 2008.05.27 10:15:00 -
[1]
Edited by: Bloemkoolsaus on 27/05/2008 10:16:34 Hi,
I'm experimenting with the corp killlog sheet, and ran into the issue discussed in this topic -> http://myeve.eve-online.com/ingameboard.asp?a=topic&threadID=740849
So, when trying to find a solution, i was trying to get my kills by using the beforekillid and got the following:
Quote:
HTTP/1.1 200 OK Connection: close Date: Tue, 27 May 2008 10:04:56 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: application/xml; charset=utf-8 Content-Length: 257
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="2"> <currentTime>2008-05-27 10:04:55</currentTime> <error code="118">Expected beforeKillID = 0: wallet not previously loaded.</error> <cachedUntil>2008-05-27 10:09:55</cachedUntil> </eveapi>
I haven't been able to find any usefull information about this error, so i was hoping someone here is able to explain what it means..
This is what i sent: ofcourse, i blanked out the numbers. The beforekillid is a real kill, i copied it from a kill that came from my char killlog. I have director roles in my corporation.
Quote:
POST /corp/KillLog.xml.aspx HTTP/1.0 Host: api.eve-online.com Content-Type: application/x-www-form-urlencoded Content-Length: 129 Connection: close
apiKey=#####&beforeKillID=#####&characterID=####&userID=####
|

Immersive
 |
Posted - 2008.05.28 10:20:00 -
[2]
Somewhere on here (it may even be the thread you linked) is the full discussion on this error.
IIRC, the current consensus is that there is a specific issue with an NPC kill log. One of the data fields isn't being populated correctly, and this is crashing your XML request.
You'll have to wait until the offending kill log is pushed out of your request buffer. (ie, kill more stuff so the api forgets there's a problem =)
Check through your in-game kill logs to find one with data missing.
Cheers, Imm
|

Bloemkoolsaus
Horizon.Inc Kingdom of Redemption
 |
Posted - 2008.05.29 07:32:00 -
[3]
Tnx, though maybe my question was not clear enough..
I understand the faulty killmail, however when i try to pass the beforeKillId parameter i get <error code="118">Expected beforeKillID = 0: wallet not previously loaded.</error>. I can't find any usefull info about this error. (I also get it with my char killlog, wich is not faulty).
Maybe i'm just using the beforeKillId parameter in a wrong way, but i can't seem to find any documentation that will explain what went wrong if you get this error.
|

Ausser
Cybertech Industrials Agency
 |
Posted - 2008.05.30 13:01:00 -
[4]
Edited by: Ausser on 30/05/2008 13:03:37
Originally by: Bloemkoolsaus Tnx, though maybe my question was not clear enough..
I understand the faulty killmail, however when i try to pass the beforeKillId parameter i get <error code="118">Expected beforeKillID = 0: wallet not previously loaded.</error>. I can't find any usefull info about this error. (I also get it with my char killlog, wich is not faulty).
Maybe i'm just using the beforeKillId parameter in a wrong way, but i can't seem to find any documentation that will explain what went wrong if you get this error.
beforeKillID is used to get more data, if your kills dont fit into a single result. The API batch size is 25 for char and 50 for corp. In your first call, set beforeKillID=0. If there are more kills, you will get a full batch of 25/50 entries. Use the killID of the last entry returned to set beforeKillID for the next call. Repeat calls untill a) you get less than 25/50 entries or b) the last entry is older than one week, relative to <currentTime>.
Ensure you dont call the api for the first batch untill the cache timer has expired (<cachedUntill> element in the last result). Once this batch was returned, the cache timer will be set, but you are still allowed to get more kills with calls that use the correct beforeKillID.
The error you have described will be returned, if your first call to the api is set to another value than zero. Just start any call sequence after the cache has expired with beforeKillID=0.
|

Bloemkoolsaus
Horizon.Inc Kingdom of Redemption
 |
Posted - 2008.05.30 14:00:00 -
[5]
Ah that explains alot.
Tnx 
|

Tyr Harper
 |
Posted - 2008.07.26 22:45:00 -
[6]
Originally by: Ausser Edited by: Ausser on 30/05/2008 13:03:37
Originally by: Bloemkoolsaus Tnx, though maybe my question was not clear enough..
I understand the faulty killmail, however when i try to pass the beforeKillId parameter i get <error code="118">Expected beforeKillID = 0: wallet not previously loaded.</error>. I can't find any usefull info about this error. (I also get it with my char killlog, wich is not faulty).
Maybe i'm just using the beforeKillId parameter in a wrong way, but i can't seem to find any documentation that will explain what went wrong if you get this error.
beforeKillID is used to get more data, if your kills dont fit into a single result. The API batch size is 25 for char and 50 for corp. In your first call, set beforeKillID=0. If there are more kills, you will get a full batch of 25/50 entries. Use the killID of the last entry returned to set beforeKillID for the next call. Repeat calls untill a) you get less than 25/50 entries or b) the last entry is older than one week, relative to <currentTime>.
Ensure you dont call the api for the first batch untill the cache timer has expired (<cachedUntill> element in the last result). Once this batch was returned, the cache timer will be set, but you are still allowed to get more kills with calls that use the correct beforeKillID.
The error you have described will be returned, if your first call to the api is set to another value than zero. Just start any call sequence after the cache has expired with beforeKillID=0.
I try to do what you say. Add beforeKillID=0 for the first call. After, I use the last KillID and call with beforeKillID={lastkillid}
I always get error 119 (Kills exhausted: retry after ...)
I try a GET, a POST, make first call (beforekillid=0), wait 1 hour and call with beforeKillID={lastkillid}
I allways get error 119 when I use beforeKillID.
Does it's normal ? |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |