Battles after_time doesn't work

Discussion in 'API' started by compasses, Aug 10, 2021.

  1. compasses

    compasses Kobold

    Hi,

    I'm trying to get all the battles after 2021-08-09 and I got the error:
    >> curl 'http://api.cardhunter.com/battles?after_time=2021-08-09T00:00:00.000Z' -o battles.json

    % Total % Received % Xferd Average Speed Time Time Time Current

    Dload Upload Total Spent Left Speed

    100 393 100 393 0 0 3 0 0:02:11 0:02:00 0:00:11 106




    >> cat battles.json

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

    <html><head>

    <title>502 Proxy Error</title>

    </head><body>

    <h1>Proxy Error</h1>

    <p>The proxy server received an invalid

    response from an upstream server.<br />

    The proxy server could not handle the request <em><a href="/battles">GET&nbsp;/battles</a></em>.<p>

    Reason: <strong>Error reading from remote server</strong></p></p>

    </body></html>
     
    Sir Veza likes this.
  2. Flaxative

    Flaxative Party Leader

    Hi, we're looking into this issue :)
     
  3. compasses

    compasses Kobold

    Hi,

    Did you have a chance to take a look at this issue?
     

Share This Page