1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

miniWallOfDataServiceError

Discussion in 'Census: Planetside 2' started by Dalm, May 20, 2013.

  1. Dalm

    Dalm Guest

    I'm playing around with the api and have run into a problem. When I try to query many times in a short timespan I get the following response:

    {"errorCode":"miniWallOfDataServiceError"}

    What does this error actually mean? How many queries (per second?) can I do before I get this repsonse.
     
  2. lethak

    lethak Guest

    I doesn't run into your error but I am using delayed queries as an habit

    2s between queries seems to be reasonable


    Also, if you are fetching characters, you can fetch multiple at a time, saving resources on both end

    ?id=111111111,2222222,333333333,etc...
     
  3. Dalm

    Dalm Guest

    Thanks for your suggestion. Unfortunately, I get the problem when querying for character events, which means I need to do 3 separate queries for a single character. This means a lot of queries to get the data for a whole outfit and would take a long time when querying sequentially even when you don't incorporate a delay at all. I was hoping to get some concrete triggers for this error, so I could schedule the queries accordingly.
     
  4. lethak

    lethak Guest

    What are you trying to accomplish ? maybe there is a workarround
    Can you provide your queries so I can try to help if I can
     
  5. Dalm

    Dalm Guest

    I'm trying to produce detailed statistics based on character events. Which means I want as much as kills,deaths and vehicle destroy events as possible. Unfortunately you can only get 1000 events for each query, so you need 3 queries for all 3 types of events. I don't know how to get more in a single query, but if you know a workaround let me know. These are the queries I'm using:

    characters_event?id=5428010618030654913&type=KILL&c:limit=1000
    characters_event?id=5428010618030654913&type=DEATH&c:limit=1000
    characters_event?id=5428010618030654913&type=VEHICLE_DESTROY&c:limit=1000
     
  6. lethak

    lethak Guest

    You cant have more than 1000 per PAGE

    Page 1

    Code:
    characters_event?id=5428010618030654913&type=KILL&c:limit=1000&c:start=0

    Page 2, etc...

    Code:
    characters_event?id=5428010618030654913&type=KILL&c:limit=1000&c:start=1000

    not tested with events, but works fine with other parts of the API.
     
  7. Dalm

    Dalm Guest

    I already tried that and it seems that the character events are a bit special in that regard. You can only get the first 1000.
     
  8. Dedith

    Dedith Guest

Share This Page