Errors
Look up an error by its code, or by its message, to find what it means and what to do. The errors are grouped by where you see them: arc validate, then the rest of the CLI, from logging in to waiting for a release, then a failed release, GitHub, and the warnings that don't fail anything. For a problem with no message, see Troubleshooting.
How the CLI reports an error
A command that fails prints a heading naming what stopped, then the reason and what to do, then the error's code and a link to it on this page, and exits with 1:
$ arc deploy
Deploy aborted.
Uncommitted changes found.
Commit, stash, or discard them first.
Code: git_uncommitted
https://developer.arcadible.com/references/errors#git_uncommitted
With --json, stdout holds the error as one JSON document, and stderr stays empty:
{
"error": {
"code": "git_uncommitted",
"link": "https://developer.arcadible.com/references/errors#git_uncommitted",
"message": "Uncommitted changes found.\n\nCommit, stash, or discard them first."
},
"warnings": []
}
link is the code's entry on this page. An error from Arcadible's API adds the response's status. A command with a result to report alongside its error adds it to the same document, such as a failed release's release, and arc build, arc pack, and arc deploy add their warnings. See Output.
Codes
- Match on the code, not the message. Messages are written for people, and can change in any release. Codes don't.
- A code never changes meaning, and is never renamed or reused. One that's no longer used stays on this page.
- New codes can be added in any release. Treat a code you don't know as a failure, and show its message.
- The CLI and releases share codes. A release failure reason is its code, so
version_existsmeans the same thing fromarc deployand from a release.
arc validate issues
arc validate lists every rule each field breaks, with a link to the field's rules. arc build, arc pack, and arc deploy run the same checks first, and stop with validation_failed and the number of issues:
✗ game.icon: Invalid PNG.
Image is 500 × 400px.
Image must be at least 512px wide.
With --json, each issue is an object, with the field's path, the rule's code, the message, its details, and the link to the field's rules, or null for a field the docs leave out:
{
"issues": [
{
"code": "media_invalid",
"details": ["Image is 500 × 400px.", "Image must be at least 512px wide."],
"link": "https://developer.arcadible.com/references/arcadible-manifest#game.icon",
"message": "Invalid PNG.",
"path": "game.icon"
}
]
}
An issue's code names the rule it breaks, and follows the same rules as an error's: match on it, not the message. When arc build, arc pack, or arc deploy stops as validation_failed, its JSON has the same issues beside the error.
A warning, such as field_unknown, has the same shape, and is listed under warnings beside the issues. It doesn't fail the project.
required
Must be set.
A required field is missing. For id, run arc init. For version, set one, or add it to package.json.
empty
Must not be empty., Must not be blank.
The field is set to "" or [], or a text field to only spaces. Remove it to use its default.
too_short
Must be at least N characters.
The value is shorter than the field allows, such as a handle under 3 characters. See Limits. An empty value is empty.
too_long
Must be at most N characters.
Over the field's limit.
too_many
Must have at most N items. (or files)
A list, such as genres or the gallery, has more items than the field allows. See Limits.
duplicate
Must not repeat an item.
Must not have two files of one name, whatever their extensions.
A list names a value twice, or two gallery files share a name, such as screenshot_1.png and screenshot_1.mp4.
characters_invalid
Contains invalid characters: …
A text field has a character outside its set, such as an emoji in a title, or a tab or zero-width character in the description. See Limits.
For the handle, it also covers its hyphens: Must not start or end with a hyphen., and Must not contain consecutive hyphens. See Handles.
option_invalid
Must be one of: and the values it takes.
A field such as genres, inputs, or audience has a value that isn't in its list.
type_invalid
Must be a string, not a number.
The value is the wrong kind, such as a number where text goes, or a single value where a list goes. Check the field's example in the manifest reference.
markdown_invalid
Invalid Markdown.
The README's description uses an element, attribute, or HTML comment (<!-- … -->) Arcadible doesn't allow, or an attribute's value breaks its rule: a link that isn't https, or media that isn't a PNG or MP4 in .arcadible/gallery/, or doesn't exist. The details name each one. See Elements.
description_rules_missing
Needs two --- rules around the description.
The README has text after its title, tagline, and bio, but not two --- rules around the description. Add them, or keep the README as it is and put the store page in arcadible.md. See Structure.
path_invalid
Must be within .arcadible.
A path in arcadible.toml points somewhere it can't: outside the project or .arcadible/, to a file that isn't there (Must exist.), to the project root, or for deploy_dir, somewhere that doesn't exist with no build to create it, or that has .arcadible anywhere in its path, or arcadible.json, .arcadible, or an arcadible folder at its root, which are reserved. The message names which.
index_missing
Must have an index.html at its root.
deploy_dir isn't the folder your build writes.
media_invalid
Invalid PNG., Invalid MP4.
A media file's size, dimensions, aspect ratio, or length is outside its rules, or it isn't a PNG or MP4. The details give the file's own and the rule it breaks. See Media files.
uuid_invalid
Must be a UUID., Must be lowercase.
id was edited. Restore it from Git, or run arc init for a new one.
version_invalid
Must be a version, such as 1.2.0., Must be written as 1.2.0 or 1.2.0-beta.1: …
version isn't a version such as 1.2.0, or is written another way, such as v1.2.0 or 1.2.0-Beta.1.
url_invalid
Must be a YouTube or Vimeo URL.
trailer links somewhere else.
out_of_range
Must be N or less., Must be N or more.
A number is outside the values the field takes.
invalid
Any other rule. The message says what's wrong.
Logging in
not_logged_in
Not logged in.
The command needs an account. Run arc login.
session_expired
Session expired.
Arcadible no longer accepts the saved session, such as after its account was deleted, or it can't be renewed. arc forgets it, so arc whoami says you're not logged in. Run arc login again.
login_code_expired
Login code expired.
The code wasn't entered within 10 minutes. Run arc login again.
login_failed
Login request failed.
Arcadible couldn't complete the login. Run arc login again.
Your project
validation_failed
N issues found.
The project doesn't pass arc validate, which arc build, arc pack, and arc deploy run first. Run arc validate, and fix each issue. With --json, the issues are beside the error.
arc deploy also validates again after the build, since a build can write files the manifest reads, such as art: N issues found after the build. The files the build wrote stay, so arc validate reports the same issues.
parse_failed
Unable to parse <file>.
arcadible.toml, package.json, a .arcrc, or the README isn't valid TOML, JSON, INI, or Markdown. The parser's message follows: fix the syntax at the line it names.
path_not_found
Unable to find: <path>
A folder you named doesn't exist: the directory -C names, or the folder arc pack --input names. Check the path.
manifest_missing
No arcadible.toml in <directory>.
The directory arc runs in, or the one -C names, has no arcadible.toml, so it isn't a project. arc reads only the directory it's given, never one above it. When a directory above has an arcadible.toml, the message names it: run arc there, or pass -C with it. To start a project, run arc init.
game_id_missing
No game handle or ID.
arc play and arc open need a game. Pass its handle or id, or run them in the project, after arc init has added an id. Outside a project, with no game named, they ask for one this way too.
argument_invalid
Unknown argument: nope
An option or value the command doesn't take, such as a misspelled option, a --timeout that isn't a number of seconds above 0, a --port that isn't a whole number from 1 to 65535, or a --url that isn't an http or https one. Run the command with --help for its options. Without --json, an option or value the command itself refuses (a misspelled option, say) prints the command's help and the message, with no code; a --timeout, --port, or --url it refuses ends like any other failure, with its code.
template_missing
No template chosen.
arc init had no terminal to ask in. Pass -t <user/repo>, or --yes for the blank starter.
template_unavailable
Unable to download template <template>.
The template couldn't be downloaded, or the folder it names isn't in the repository. Check that it's a public GitHub repository, or a folder in one, such as arcadible/starters/phaser. A starter's name on its own, such as blank, isn't one: arc init suggests its full name.
game_not_found
Game not found: <id or handle>
arc play couldn't find the game. Check the handle. A game you haven't deployed isn't on Arcadible yet.
Building and packing
deploy_dir_missing
Unable to find deploy_dir: <path>
deploy_dir doesn't exist, so there's nothing to pack or serve. Run arc build first. If the build ran, it writes somewhere else: set deploy_dir to that folder.
build_failed
Build failed with exit code N.
workflow.build failed, or was stopped (Build stopped by SIGINT.). The last 20 lines it printed follow, its standard output and then its error output, since some tools, such as tsc, print their errors to standard output. Fix the build, and run it on its own to check.
package_index_missing
Package is missing 'index.html'.
deploy_dir has no index.html at its root. Set it to the folder your build writes. When the build doesn't write it at all, arc build warns deploy_dir_not_built, and arc pack and arc deploy stop with deploy_dir_missing.
package_path_reserved
'arcadible/' is reserved for Arcadible.
The packed folder has an arcadible folder at its root, in any letter case. Every game's address keeps that folder for Arcadible's own files. Rename yours, and the paths that load from it. An arcadible.json or .arcadible/ at its root is refused too, since packing adds its own: leave them out. arc validate reports a deploy_dir that has it already. This catches one your build writes, or a folder you pack with -i.
package_too_large
Package is larger than 64 MB.
deploy_dir, zipped, is over the limit. Compress assets, or stream what isn't needed to start.
package_uncompressed_too_large
Package is larger than 256 MB uncompressed.
Everything packed is over the limit, .arcadible/ included. Shrink the build or the art.
package_file_too_large
'<file>' is larger than 64 MB.
One file is over the limit. Split it, or compress it.
package_too_many_files
Package has more than 10,000 files.
Over the limit. Bundle small files together.
Serving locally
port_in_use
Port 4100 is in use.
Something else is listening on the port arc serve asked for, such as another arc serve. Stop it, or pass another port with --port.
Before deploying
A version that's already published, and a game that was deleted or is another account's, are refused before anything is uploaded, as version_exists and game_unavailable.
game_handle_taken
Handle taken: <handle>
Another game, yours or another account's, has this handle, or it's held for another account (a handle let go is held for 30 days), or it's reserved. Handles are unique among games: choose another. See Limits › Handles. A game whose id is another account's fails as game_unavailable instead.
git deploys
game_not_deployed
<game> isn't on Arcadible yet.
A git release can't create a game. Deploy once with arc deploy, then connect the repository.
git_repo_missing
No Git repository found.
The project isn't in a Git repository. Run git init, commit, and add a remote.
project_not_repo_root
Project is in <directory>, not the repository's root.
The release workflow builds the project at the repository's root, so arc deploy git releases only a project there. A game in a directory below it, such as one of several games in one repository, deploys with arc deploy; or give it a repository of its own.
git_uncommitted
Uncommitted changes found.
The release would be built from a commit that isn't what you have. Commit, stash, or discard the changes.
git_remote_missing
No Git remote origin.
The repository has no origin. Add the game's GitHub repository: git remote add origin <url>.
git_remote_unreachable
Unable to reach Git remote origin.
origin is set, but Git couldn't reach it. Check your connection, the remote's URL (git remote get-url origin), and that you can access the repository.
lockfile_missing
No lockfile found.
The project has a package.json but no lockfile, which the workflow installs from. Install your dependencies to create one, and commit it.
git_tag_exists
Git tag for v1.2.0 already exists, here or on origin.
This version was released from Git before. Bump the version. After a failed run, you can delete the tag instead; see GitHub.
git_tag_create_failed
Unable to create Git tag for v1.2.0.
Git couldn't tag HEAD. Git's own message follows, such as a lock file it found. Check that the repository has a commit, and that your Git name and email are set.
git_tag_push_failed
Unable to push Git tag for v1.2.0.
Git couldn't push the tag. Git's own message follows, such as a hook's refusal. Check that you can push to origin.
Uploading and waiting
upload_failed
Upload failed with status N.
Arcadible's storage refused the zip, such as one changed after it was packed, or an outdated arc. Update arc, and deploy again.
api_refused
Not Found (404).
Arcadible refused a request, with the status and, where it gives one, why. With --json, the error adds status. Check you're running the newest arc (npm install -g arcadible), and try again.
api_unreachable
Unable to reach Arcadible.
A request got no response: you're offline, or something between you and Arcadible, such as a proxy or firewall, stopped it. Check your internet connection, and try again.
deploy_rate_limited
v1.2.0 was deployed in the last 5 minutes.
A version whose release failed, so nothing was published, can be deployed again once every 5 minutes, counted from its last upload. Wait, then deploy again. A published version can't be deployed again (version_exists). See Limits.
wait_timed_out
Waited 5 minutes for v1.2.0.
The release didn't finish within the wait, and may still finish. Check the link it prints to Studio, or pass a longer --timeout. For git, when no release appeared, check the repository's Actions tab; if the workflow passed, the Arcadible check on the tagged commit says why Arcadible didn't take it.
A release that fails prints Release failed. and what happened, then its reason as the error's code, with its link. See Release failure reasons.
Release failure reasons
When Arcadible can't publish a release, the release fails with a reason. You see it in arc deploy, as the error's code, in the "Release Failed" email, in Arcadible Studio, and, for git, in the Arcadible check on GitHub. See Releases for where each appears.
A version is taken only when its build is published. Fix the cause and deploy the same version again, unless the reason is version_exists. For git, delete the release's tag first; see GitHub.
version_exists
Version 1.2.0 is already published.
This version of the game already has a build. arc deploy checks before it uploads, and names the newest version in each channel and one to bump to. Bump version, and deploy again.
version_mismatch
The zip's game.version (1.2.1) isn't this release's version (1.2.0).
The zip was packed from a different version than the one released. Deploy with arc deploy, or arc deploy git, which take the version from your manifest, rather than uploading or attaching a zip by hand.
game_unavailable
Game unavailable: <id>, This game was deleted, or belongs to another account., This account was deleted, so it can't release games.
The game was deleted, or belongs to another account, or the account was deleted. Give id a new UUID to deploy it as a new game. If it's your game, check you're logged in to the right account with arc whoami.
game_mismatch
The zip's game.id (<id>) isn't this release's game (<game>).
The zip's id isn't the game being released. Deploy with arc deploy, which packs the zip from your manifest, or check the zip from arc pack.
game_handle_changed
The manifest's game.handle (<handle>) isn't the game's handle (<handle>).
(git) The release would change the game's handle: to another one, to one for a game that has none, or to none. Only arc deploy changes a handle, so whoever can push to the repository can't change your game's name. Change it with arc deploy, then release again, or set game.handle back to the game's. arc deploy git checks it before it pushes the tag, whoever runs it (The handle in arcadible.toml (<handle>) isn't the game's on Arcadible (<handle>).).
manifest_invalid
The build was refused: <why>. Run arc validate.
Arcadible refused the manifest the zip carries. Run arc validate, fix what it reports, and deploy again.
zip_too_large
The zip is over 272 MB, the most a build can be.
The zip is over 272 MB. Shrink the game within the package limits.
zip_invalid
The zip couldn't be read., The zip has no arcadible.json., The build has a folder 'arcadible/', which is reserved for Arcadible.
The zip couldn't be read, breaks a package limit, has an arcadible folder at its root (package_path_reserved), or has no arcadible.json, so it wasn't packed by arc. Run arc pack and check the zip opens, or deploy with arc deploy, which packs it.
zip_missing
The release has no .zip asset.
(git) The GitHub release has no zip attached, so there's nothing to publish. The starter's release workflow attaches one: keep .github/workflows/arcadible-release.yml, and release with arc deploy git rather than creating the GitHub release by hand.
repo_not_connected
<owner>/<name> isn't connected to a game.
(git) The repository isn't connected to the game. The game's owner connects it on the game's Repository tab in Arcadible Studio, and connects it again if it was renamed on GitHub. arc deploy git checks that origin is the game's repository before it pushes the tag, whoever runs it (<owner>/<name> isn't <game>'s repository on Arcadible.).
github_app_not_installed
The Arcadible GitHub App was disconnected from this account.
(git) The Arcadible GitHub App was disconnected. Install it again from Settings ▸ Integrations in Arcadible Studio, then connect the repository again on the game's Repository tab. When the check says This GitHub account isn't connected to Arcadible., the app is installed but not linked to your account: choose Connect an existing installation there.
build_rate_limited
This account reached its limit of 30 builds an hour.
The account reached a build limit: 30 builds an hour, or 100 in a day. Deploy again later.
game_limit_reached
This account reached its limit of 100 games.
The release would create a game, and the account already has 100, its limit. Deleted games don't count: delete a game you no longer need in Arcadible Studio, then deploy again. New versions of your existing games still release.
release_expired
The release didn't finish within an hour. Deploy again.
A release expires when its zip never finished uploading, or its processing never finished.
internal
Something went wrong on Arcadible's side, in a release or in a request to Arcadible's API (a 5xx status, which --json adds as status). Check status.arcadible.com for an outage, then try again.
From the CLI itself, with no status, it's an error arc didn't expect: a bug. Update to the newest arc, and if it happens again, tell us at support@arcadible.com with the command and its output.
GitHub
A git release can also fail on GitHub, before Arcadible has a release to report. These show on the tagged commit: in the workflow's run, or in the Arcadible check.
When the workflow's run fails, open it on the repository's Actions tab. A failed step's output is the CLI's, as above. The workflow has two checks of its own, each with why on the line under it: Invalid tag: <tag> means the tag isn't arcadible/release/v and the project's version (release with arc deploy git, which tags it from the manifest), and Unable to find: <path> means the build didn't write deploy_dir as a folder: run arc build locally and check where it writes.
When the Arcadible check fails, its title is Release failed: and the code, with a link to how to fix it. The code is a release failure reason, or one of these, when there's no release yet:
git_tag_invalid
<tag> isn't arcadible/release/v<version>, with a version like 1.2.0 or 1.2.0-beta.1.
The tag starts with arcadible/ but doesn't name a version. Release with arc deploy git, which tags it from the manifest.
workflow_missing
The repository has no .github/workflows/arcadible-release.yml, which builds the release's zip and attaches it.
arc deploy git checks before it pushes the tag (No release workflow found: .github/workflows/arcadible-release.yml), so you see this on GitHub only for a tag pushed another way. Add the workflow from your starter, and commit it. See What the workflow does.
A failed run publishes nothing, but its tag stays. To release the same version again, delete the tag locally and on origin (git push origin :refs/tags/arcadible/release/v1.2.0), or release a higher version.
Warnings
A warning says something you might want to fix, and the command goes on. arc validate lists warnings with its issues; arc build, arc pack, and arc deploy print them in yellow on stderr. --quiet leaves them out. With --json, each command lists them under warnings, in the same shape as an issue, with its link here (or, for field_unknown, null).
field_unknown
Unknown field. (or table)
arcadible.toml has a field or table Arcadible doesn't know, such as a misspelled genre, or a handle above [game]. Arcadible ignores it. The details name the field it might mean, as in Did you mean: genres?, when one is close.
field_unset
Not set, so this release is unlisted: it plays by link only. (or has no title, or lists no inputs)
A release version leaves out visibility or title, or a public one leaves out inputs. Each is optional, but a release is almost never meant without it: without visibility, the game is unlisted. Set the field, such as visibility = "unlisted" for a game you mean to keep unlisted. A prerelease isn't warned about, since it doesn't change the store page.
art_video_unpaired
Has no icon beside it. (or another piece of art)
An art video, such as .arcadible/icon_video.mp4, has no PNG beside it. Add the PNG too, such as .arcadible/icon.png, for places that don't show video.
screenshot_name_invalid
Not a screenshot's name: Screenshot_01.png.
A gallery file is named almost like a screenshot, such as Screenshot_01.png, screenshot-01.png, or screenshot01.png, so it isn't one: only files named screenshot_<number>, in lowercase, are. The details name the one it might mean, as in Did you mean: screenshot_01.png?. A file that's only for the description can keep its name.
screenshot_number_repeated
Screenshots share a number: screenshot_01.png, screenshot_1.png.
Two screenshots for the same platform have the same number, such as screenshot_01.png and screenshot_1.png, so the carousel can't show both. Give each screenshot its own number.
deploy_dir_not_built
Build didn't create deploy_dir (<path>).
workflow.build ran and passed, but didn't write deploy_dir, so there's nothing to pack. Set deploy_dir to the folder your build writes. arc pack and arc deploy stop with deploy_dir_missing.
package_file_dev
Packing node_modules/, a project's installed packages.
The top of deploy_dir has a node_modules/ folder, which usually means it's the project's folder rather than the one the build writes. arc pack and arc deploy pack it anyway, and it counts toward the size limits. Set deploy_dir to the folder your build writes.
package_file_private
Packing .env, which anyone can download.
What's packed has a .env file, such as .env or .env.local, or a .git/ folder, in deploy_dir or .arcadible/. Everything packed is public: anyone can download it from the game's address. arc pack and arc deploy pack it anyway, since it may be meant. Leave it out unless it is. An example of one, .env.example, .env.sample, or .env.template, isn't warned about. It checks for these few names only, not for every secret.
game_handle_lapsed
Handle <handle> lapsed, so deploying without it.
This game's handle lapsed: the game held it for 90 days without a production release. For 90 days after, your account can take it back only with a production release, while anyone else can take it at once. arc deploy deploys anyway, and the game plays at its id links. Release a production version to take the handle back, or choose another. See Limits › Handles.
game_handle_limit_reached
Handle <handle> not applied, so deploying without it.
Your games with no production release hold 5 handles between them, the most they can. arc deploy deploys anyway, and the game plays at its id links. Release this game to production, which takes the handle whatever the count, or release another one, or take the handle off another unreleased game. See Limits › Handles.
version_unchecked
Unable to reach Arcadible to check v1.2.0, so pushing anyway.
arc deploy git couldn't check that the game is on Arcadible and that the version isn't published, so it pushed the tag anyway. Arcadible checks again, and a published version fails as version_exists.