Skip to content

Badge image endpoint returns “Invalid SHA provided” for official Tokei repository #1297

@kadykov

Description

@kadykov

I noticed that the Tokei badge is no longer being rendered. For instance, In the README of this repository, the badge URL points to:

https://tokei.rs/b1/github/XAMPPRocky/tokei?category=code

Opening this link directly in a browser shows the following error:

Invalid SHA provided.

This means badges are currently broken not only for this repo but likely for any repository using the same endpoint.

It looks like the badge service might be expecting a parameter or SHA that the current URL no longer provides, or the backend endpoint is failing to resolve repository data.

Would you be able to take a look?

Thanks for maintaining Tokei — it’s a great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions