SuperEvilMegacorp / vainglory-assets

Community provided art, schemas, and other assets that make using the Vainglory API easier
https://developer.vainglorygame.com
MIT License
54 stars 40 forks source link

Bug: Queries returning 400. #279

Closed dominicgunn closed 7 years ago

dominicgunn commented 7 years ago

Bug Details

It looks as though some API calls are returning 400s, given the error response (see below). I imagine this is something to do with with the recent update to future times, there appears to be different API instances, running different versions.

➜  ~ curl https://api.dc01.gamelockerapp.com/status
{"data":{"type":"status","id":"gamelocker","attributes":{"releasedAt":"2017-08-29T20:17:23Z","version":"v6.8.6"}}}
➜  ~ curl https://api.dc01.gamelockerapp.com/status
{"data":{"type":"status","id":"gamelocker","attributes":{"releasedAt":"2017-08-29T18:42:34Z","version":"v6.8.5"}}}

Error Details

{
    "errors": [
        {
            "title": "Bad Request",
            "detail": "invalid search time"
        }
    ]
}

Temporary Workaround

Setting the end time filter filter[createdAt-end] to be a minute or two before your current time will avoid this issue.

svperfecta commented 7 years ago

@bguilder You resolved this I believe?

svperfecta commented 7 years ago

Resolved!

svperfecta commented 7 years ago

Just a few notes: This is the same issue as #236 It was reverted yesterday due to a bug in the CI/CD pipeline which is also fixed