errors and warnings / manifest / E4201
E4201 error
Missing API token for a publish target
- area
- manifest (x4xxx)
- fails the build
- yes
wowlua publish found no API token for a publish target. Tokens never go into
wowlua.json. They come from the target's environment variable
(CF_API_TOKEN for CurseForge, WAGO_API_TOKEN for Wago, WOWI_API_TOKEN
for WoWInterface, or the target's token-env), from the OS credential store
that wowlua login <type> fills, or from config.json. Every target's token
is checked before anything is uploaded.
Run wowlua login <type>, or set the environment variable (in CI, from a
secret). Without a terminal, wowlua does not read the OS credential store, so
a background job needs the variable or a token saved with
WOWLUA_NO_KEYRING=1 wowlua login <type>. The error comes from publishing,
so it has no example here.
Related codes
| code | message |
|---|---|
| E4202 | Upload rejected by the site (the site's response is included) |
| W4326 | No OS credential store; token stored in config.json (mode 0600) |
Offline
$ wowlua explain E4201 E4201 (error): Missing API token for a publish target