Slack · tool · fg-0384

apps.manifest.update in CI fails with token_expired once the config token is 12 hours old

If you see token_expired from apps.manifest.update, the cause and the fix for Slack are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
token_expired from apps.manifest.updatemissing_scope when the token lacks app_configurations:writeDeploy pipeline worked yesterday and fails today without changes
Cause
Manifest methods need an app configuration token, not a bot or user token, and config tokens expire 12 hours after they are generated. Each one comes with a refresh token that must be rotated through tooling.tokens.rotate.
Fix
Store the config refresh token as a CI secret, rotate it at the start of every run, and save the new refresh token the call returns.
Apply
curl -s -X POST https://slack.com/api/tooling.tokens.rotate -d refresh_token=$SLACK_CONFIG_REFRESH_TOKEN
Affected
Slack app manifest APIs (apps.manifest.create, update, validate), as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun