# Shields.io unable to retrieve Discourse statistics API

**URL:** <https://meta.discourse.org/t/shields-io-unable-to-retrieve-discourse-statistics-api/128574>\
**Category:** Product Support\
**Created:** [September 14, 2019, 1:25pm UTC](https://meta.discourse.org/t/shields-io-unable-to-retrieve-discourse-statistics-api/128574 "2019-09-14T13:25:54Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [November 15, 2023, 7:41pm UTC](https://meta.discourse.org/t/shields-io-unable-to-retrieve-discourse-statistics-api/128574/12 "2023-11-15T19:41:54Z")

</div>

Related to:

[https://github.com/discourse/discourse/pull/23933](https://github.com/discourse/discourse/pull/23933)

It’s because a few fields have been renamed in their plural form.

`topic_count` → `topics_count`  
`post_count` → `posts_count`  
`user_count` → `users_count`  
`like_count` → `likes_count`

Someone will need to modify the code here to fallback to the plural form:

> <https://github.com/badges/shields/blob/master/services/discourse/discourse.service.js>

---

_[View the full topic](https://meta.discourse.org/t/shields-io-unable-to-retrieve-discourse-statistics-api/128574)._
