| Pages: 1 :: [one page] |
| Author |
Thread Statistics | Show CCP posts - 1 post(s) |

Morke
|
Posted - 2007.12.02 15:57:00 -
[1]
Edited by: Morke on 02/12/2007 15:57:31 Hello.
I'm writing an application to retrieve Wallet Journal data and maintain it in a database. I have been able to get it working in a general way (that includes character retrieval and journal retrieval), but I now got an error I don't know how to deal with:
error 102: Expected beforeRefID [?] but supplied [0]: wallet previously loaded.
Where ? is some refId. My understanding was that you can retrieve the whole journal data every hour, including the data I might have retrieved earlier (where ofcourse data older then one week cannot be retrieved).
I was under the impression you only need to specify the beforeRefId when the initial request without it retrieved 1000 entries as this means there are (very likely) more entries, and you specify this beforeRefId to display entries that came before the specified one. The beforeRefID to be used here is the refId of the last row (and thus with the lowest value) of the previous returned data.
Am I correct or did I mistunderstand something?
Am I right
|
|

CCP Garthagk

|
Posted - 2007.12.02 16:08:00 -
[2]
That's correct. In this case, make sure that you aren't downloading this file multiple times in an hour. This can happen if you have another program downloading the wallet for this character, it can only be downloaded once per hour total - no matter who is doing it.
Also, if you are trying to do it exactly on the hour, the clock could be off and you could be doing it slightly before (from our point of view). It's generally safer to add a few minutes to the request time, if you aren't entirely sure of your timing.
-------------- Garthagk - EVE Software Group - EVE API Guy
Proud to fly Amarr. Long live the Emperor...well, the Empire at least. |
|

Morke
|
Posted - 2007.12.02 21:04:00 -
[3]
Edited by: Morke on 02/12/2007 21:06:23 Thanx for the information.
For the same character I now get (even after waiting for more then an hour, obviously) this error: error 103: Already returned one week of data: retry after 2007-12-02 21:24:22.
I think I remember that I got this error already more then an hour ago.
As far as I know noone tried retrieving journal data from this character except my application in developement. Evemon was running though, but as far as I know that doesnt request the journal.
Maybe you have an explanation and even a fix?
|

Morke
|
Posted - 2007.12.03 19:12:00 -
[4]
I tried again now (a day later) and still got the two errors, 103 first then 102 at the second attempt. The character I'm trying is one of a very good friend. I'll send you the character Id if it helps.
|

Morke
|
Posted - 2007.12.09 20:45:00 -
[5]
I'm still having the same problem with this specific character. With my other characters it works perfectly.
Strangely however my friend was able to retrieve the data once using a normal request via a browser, but not anymore.
Maybe the cause is becuase there is more journal data for this account?
I need a fix for this. It is not clear to me how the api is designed to work, ie in which exact situations it returns errors 102 and 103.
Please help.
|
| |
|
| Pages: 1 :: [one page] |