Build status badge not showing on GitHub

I have a public repository and have added Markdown code to the README page to show the build status. However, the image is not showing.

Here’s the Markdown code:

[![Build Status](https://circleci.com/gh/keithpitty/kpdotcom.svg?style=shield)](https://circleci.com/gh/keithpitty/kpdotcom)

However, the image URL on https://camo.githubusercontent.com that is generated returns a 404.

What could be causing this?

@keithpitty Hello! It appears this is due to how GitHub anonymises images within READMEs, which you can read a bit about here: https://help.github.com/en/github/authenticating-to-github/about-anonymized-image-urls. It looks like doing the following command should clear the cache and allow it to try fetching again:

curl -X PURGE <githubusercontent url>

@gmemstr thanks for your suggestion. I tried the suggested command but the image still cannot be displayed. I don’t the scenario is the same as is described in https://help.github.com/en/github/authenticating-to-github/about-anonymized-image-urls. In my case the anonymized image itself is not found when I try to display it in a browser.

For the benefit of others: You need the ?circle-token= parameter for public repos too. Read more here