# CircleCI Badge not displaying on private repository

**URL:** <https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955>\
**Category:** Bug Reports\
**Created:** [October 30, 2020, 8:15am UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955 "2020-10-30T08:15:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![damianac](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@damianac](https://discuss.circleci.com/u/damianac)\
**Post date:** [October 30, 2020, 8:15am UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955/1 "2020-10-30T08:15:03Z")

</div>

I can’t seem to make CircleCI Status badge display on my private GitHub repository.  
Here’s how I constructed the string in README.md:

`[![Build Status](https://circleci.com/gh/<my-private-network>/<my-private-project>.svg?style=svg&circle_token=<my-api-token>)](<link-to-circleci-pipeline>)`

I’ve also made sure to create API token labeled as ‘Status’.

camo.githubusercontent returns 404 and I’m unable to display it properly in my readme. Am I missing something, or is this bug report indeed?

---

<div class="post-metadata">

**Author:** ![bytesguy](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bytesguy](https://discuss.circleci.com/u/bytesguy)\
**Post date:** [November 6, 2020, 10:28pm UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955/2 "2020-11-06T22:28:02Z")

</div>

👋 If you go to the raw link `https://circleci.com/gh/<my-private-network>/<my-private-project>.svg?style=svg&circle_token=<my-api-token>` in your browser, does it show the badge correctly?

I’m curious as to whether this is a problem with the badge generation or if the problem only happens when it is embedded in the readme.

---

<div class="post-metadata">

**Author:** ![sarahdayan](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sarahdayan/32/25301_2.png) [@sarahdayan](https://discuss.circleci.com/u/sarahdayan)\
**Post date:** [December 1, 2020, 10:46am UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955/3 "2020-12-01T10:46:19Z")

</div>

I’m having the same issue. The raw link works in my browser (with and without the Circle token) but `camo.githubusercontent` won’t display it.

---

<div class="post-metadata">

**Author:** ![drewnichols](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/drewnichols/32/27862_2.png) [@drewnichols](https://discuss.circleci.com/u/drewnichols)\
**Post date:** [May 11, 2022, 6:27pm UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955/4 "2022-05-11T18:27:45Z")

</div>

I had the same issue and adding the `circle_token=<my-api-token>` parameter to the URL fixed it.

---

<div class="post-metadata">

**Author:** ![rob4629](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rob4629/32/22178_2.png) [@rob4629](https://discuss.circleci.com/u/rob4629)\
**Post date:** [December 20, 2023, 6:22pm UTC](https://discuss.circleci.com/t/circleci-badge-not-displaying-on-private-repository/37955/5 "2023-12-20T18:22:59Z")

</div>

Like Sarahdayan, I’m able to view the badge in my URL, however the badge isn’t being displayed when embedded in the README. This is for Private repositories, so I’ve included the [circle-token param with a token scoped to `status`](https://circleci.com/docs/status-badges/#creating-badges-for-private-repositories) as per the documentation.

I tried switching the `style` value to “shield” but this didn’t resolve my issue. Any other ideas?
