Skip to content

The token may only read, so it cannot clean the remote cache

error: the token may only read from the remote cache at https://cache.example.com, so it can't remove entries
hint: Use a token whose access is rw, such as the one CI uploads with.

axle cache clean --remote asked axle-server to remove entries, and the server answered 403: the token is one that may only read, such as a dev:r:… token in AXLE_SERVER_TOKENS. Removing entries takes the same access as uploading them.

Run it with a token whose access is rw:

Terminal window
AXLE_REMOTE_CACHE_TOKEN="$CI_TOKEN" axle cache clean --remote

Or log in with one first with axle login.