Troubleshooting
Most issues come from publishing paths, token permissions or README caching.
The cards do not update
- Check that
publish_branchis the branch the README URLs point to, and that the job hascontents: writepermission. - Open the raw file URL directly and confirm the file changed there first. The job summary lists every file with its size.
- GitHub caches README images. The next scheduled run usually refreshes them.
Token errors
- GitHub always needs a token. In the Action the workflow token is used when
tokenis empty; locally, setGITHUB_TOKENor pass--token. - The workflow token may miss private contributions and followers. Use a personal access token with
read:userto include them. - For GitLab, define
GITLAB_TOKENas a CI variable; for WakaTime,WAKATIME_API_KEY. - Never put tokens in committed YAML.
profile-graphics doctorshows which token every source will use.
profile-graphics doctor --config profile-graphics.yml
A card is empty or shows zeros
- The coding cards need a
wakatimesource; without one they say that there is no coding time yet. - The productive-time card on GitHub reads only your last 300 public events from the past 90 days.
- Forgejo reports pull requests and issues only with
FORGEJO_TOKEN, and has no commit total. calendar.mode: current-yearstarts on January 1. Userollingto show the last twelve months.
GitLab data looks different
GitLab has no contribution calendar API. The provider counts your events per day in calendar.timezone, commits from push events and reviews from approvals, so the numbers can differ from the calendar on your GitLab profile. See GitLab.
The theme does not match
An SVG cannot read the viewer's GitHub or GitLab account theme. Auto mode uses prefers-color-scheme, which follows the viewer's browser or system setting. Use a dark and light pair for exact control.
theme:
mode: auto
native: true
dark_mode_pair: true
PNG or WebP fails
Raster output needs the optional sharp package: install it with npm install sharp or switch to format: svg. The Action installs it by itself when format is png or webp. Raster images cannot switch themes, so they use the light palette of the native theme unless theme_mode is dark, and raster_background fills transparent areas.
Reading CLI errors
The CLI exits with 1 for config errors, 2 for provider errors and 3 for write errors. See CLI exit codes and the error codes.