# User cards for anonymous visitors immediately dissappear with "500 Internal Server Error" in \`card.json?include\_post\_count\_for\`

**URL:** https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309
**Category:** Support
**Created:** [April 11, 2023, 1:00pm UTC](https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309 "2023-04-11T13:00:21Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [April 11, 2023, 1:11pm UTC](https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309/3 "2023-04-11T13:11:06Z")

</div>

No I never got that to work. At any rate that would have been disabled in [safe mode](https://meta.discourse.org/t/53504?silent=true).

The `?include_post_count_for=xxxxx` number is the number of the topic ID, not the user.

I assumed the function that is failing was for the “X posts in this topic” button that appears in a user card.

---

_[View the full topic](https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309)._
