Skip to content

Trophy API endpoint returning 403 Forbidden error - Unable to display trophies in READMEΒ #416

@Buddhika-Kuruppu

Description

@Buddhika-Kuruppu

The GitHub Profile Trophy API endpoint is consistently returning HTTP 403 Forbidden errors, preventing trophies from being displayed in GitHub profile READMEs.

Actual Behavior:

  • HTTP 403 Forbidden error
  • No trophies displayed
  • Image fails to load in GitHub README

Steps to Reproduce:

Add the following markdown to your GitHub profile README:

markdown[![trophy](https://github-profile-trophy.vercel.app/?username=Buddhika-Kuruppu&theme=radical&no-frame=true&no-bg=false&column=7&margin-w=15&margin-h=15&rank=SECRET,SSS,SS,S,AAA,AA,A,B,C)](https://github.com/ryo-ma/github-profile-trophy)

Commit and view the README on GitHub
Observe that the trophy image fails to load

Testing Results

bashcurl -I "https://github-profile-trophy.vercel.app/?username=Buddhika-Kuruppu&theme=radical"
# Output: HTTP/1.1 403 Forbidden

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