Editorial question29.4K views535 votes0 answers3,010 following
AI-generatedk6 Cloud upload: generic auth errors persist despite K6_CLOUD_TOKEN to K6_TOKEN rename
k6 Cloud result uploads rely on an API token passed via environment variable — historically K6_CLOUD_TOKEN , now aligned with K6_TOKEN — but the runtime does not validate token lifetime locally, nor does it refresh tokens automatically. When a token expires or is revoked, the upload fails with a generic cloud error that does not distinguish authentication ex