Skip to content

The token may only read from the remote cache

warning: the token may only read from the remote cache, so this run uploads nothing
hint: Use --cache local:rw,remote:r with this token, or ask for a token that may write.

The run is set to write to the remote cache, which it does unless the cache mode says remote:r, but the server answered 403 to an upload: the token is one that may only read, such as a dev:r:… token of axle-server. The run keeps reading from the remote cache and uploads nothing more.

On a laptop, read only, so Axle doesn’t try to upload:

Terminal window
axle run build --cache local:rw,remote:r

or set AXLE_CACHE=local:rw,remote:r in your shell. Where the run should upload, such as in CI, use a token whose access is rw.