Mojira Archive
WEB-1009

https://api.mojang.com/orders/statistics returns incorrect results, causing the store page to list 0 copies sold

The bug

The API https://api.mojang.com/orders/statistics stopped returning correct results somewhere between 20th and 21st of March 2018. It now returns for all values of all metrics 0.
Maybe unrelated, but around the time when the API stopped working correctly Minecraft Java edition has reached 28 million sold copies (item_sold_minecraft + prepaid_card_redeemed_minecraft).

  ISO date
Last known correct reponse 2018-03-20T00:32:40.779Z
First known incorrect response 2018-03-21T00:25:22.087Z

I don't have any data from the time in between, so it might have stopped working at any point in this timespan.

This also breaks the store page, which displays data from this endpoint.

How to reproduce

Visit the store, and scroll down to the "The worlds best selling PC game" section.

Or, to directly use the API, see http://wiki.vg/Mojang_API#Statistics:

Use for example the following site:
https://www.hurl.it?method=POST&url=https://api.mojang.com/orders/statistics&body={"metricKeys":["item_sold_minecraft","prepaid_card_redeemed_minecraft"]}

Fixed

Marcono1234

[Mojang] Web Team

2018-03-21, 08:05 PM

2018-03-23, 09:57 AM

2018-03-23, 09:57 AM

2

3

api