TibiaData / tibiadata-api-go

TibiaData API written in Golang and deployed in container (version v3 and above).
https://api.tibiadata.com
MIT License
81 stars 28 forks source link

/v4/killstatistics/* errors for newly created worlds #285

Closed mathiasbynens closed 10 months ago

mathiasbynens commented 10 months ago

https://api.tibiadata.com/v4/killstatistics/Ambra returns

{
  "information": {
    "api": {
      "version": 4,
      "release": "edge",
      "commit": "209a9cab41f4f0d80ec00ae9589894a9c41e9baa"
    },
    "timestamp": "2023-10-19T11:48:43Z",
    "status": {
      "http_code": 400,
      "error": 11002,
      "message": "the provided world does not exist"
    }
  }
}

even though https://www.tibia.com/community/?subtopic=killstatistics&world=Ambra shows data.


The same goes for the /v4/world/* endpoint, e.g. https://api.tibiadata.com/v4/world/Ambra.


In general I’d expect all world names returned in https://api.tibiadata.com/v4/worlds to have functioning corresponding /killstatistics/* and /world/* endpoints.

tobiasehlert commented 10 months ago

@mathiasbynens issue resolved.

Root cause: "outdated" assets file, even if it was updated in the repo, the deployment to GitHub Pages was not triggered.

Followup PR created to remove this in future: https://github.com/TibiaData/tibiadata-api-assets/issues/35

mathiasbynens commented 10 months ago

Thanks for the quick fix!