Acccessing Current China Diablo 3 Leaderboard Data from US

I am trying to get era 11 and the current era 12 Diablo 3 leaderboard data from China.

If I use this link (with a correct access token entered at the end), I can get the era 10 data.

https://gateway.battlenet.com.cn/data/d3/era/10/leaderboard/rift-barbarian?access_token=

If I simply change the link “11” to “12” (i.e changing it from era 11 to era 12),

https://gateway.battlenet.com.cn/data/d3/era/11/leaderboard/rift-barbarian?access_token=

I get an error message. Did they change the website link or something else?

Any help would be appreciated.

Try checking if those eras are available by calling the era index endpoint first. There are additional information for China at the top of this page.

https://develop.battle.net/documentation/diablo-3/game-data-apis

Hope it helps.

Thamks. It is strange. It won’t let me see the era index in China (other regions are fine). I get an error message. I know that China is a separate partition; however, the link for era 10 works but not later eras.

For the link that I provided, I can get the data for every era 1-10 (by changing the link in the right spot). For era 11 and 12, I get this error message:

{“code”:404,“type”:“BLZWEBAPI00000404”,“detail”:“Not Found”}

API data is compartmentalized so data for those eras might not be available for some reason.
I just tested the era index for China with the following request:
https://gateway.battlenet.com.cn/data/d3/era/?access_token=<TOKEN>

and there are only 10 eras available:

{
 "_links": {
   "self": {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/?namespace=2-6-cn"
   }
 },
 "era": [
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/1?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/2?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/3?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/4?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/5?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/6?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/7?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/8?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/9?namespace=2-6-CN"
   },
   {
     "href": "https://gateway.battlenet.com.cn/data/d3/era/10?namespace=2-6-CN"
   }
 ],
 "current_era": 10,
 "last_update_time": "Sun, 02 Feb 2020 16:48:00 UTC",
 "generated_by": "HGH2A-D3-PURPLE-JOB001-01 2.6.7 branches/2_6_7-branches/2_6_7"
}

Thanks.

Quandary solved. You can not access something inaccessible.

You might want to report this over the API bug report forum if you think the API is missing data.