Skip to content
Axiom/Docs
Reference / Troubleshooting

Troubleshooting

What the refusals people hit mean, and the command that tells you which one it is. Axiom refuses early and says why: almost everything here happens before a mod runs a line.

Start with axiom caps --game <id>. It prints the capabilities the backend and pack offer, where each came from, beside what each mod requires.

A mod is refused before it starts

What you see
Means
What to do
A manifest fault, such as tier or phase
axiom.toml does not hold up. Every fault is listed, not just the first.
Run axiom check in the mod's directory.
A required capability is Unsupported
The backend declares it cannot answer, such as ui.overlay@1 on headless.
Run the mod where it is offered, or stop requiring it.
A required capability is missing
Nothing offers it: no pack answers it for this game, or none is picked.
axiom pack status --game <id>.
Unknown import
The binary imports something the surface does not offer a mod, such as a pack-only call.
Check the call against the capability reference.
Undeclared import
The binary imports a capability the manifest never named.
Add it to capabilities.require.
Linkage
The binary asks the host for memory, a table or a global.
Link with wasm-ld --no-entry, as the guest ABI page shows.
A signature mismatch on an import
The import's type is not the one the surface lowers that call to.
Rebuild against the current surface.h.

Declaring a capability the binary never imports is not a refusal. It is reported as unused, because it is noise on the install prompt.

A call returns a status other than 0

Every call that can fail returns a status, and every nonzero one is an error the capability declares, listed on its page in the capability reference. The usual ones:

Error
Means
StaleHandle
The entity, panel or node behind the handle has gone, and its slot may already hold something else. Ask again rather than retrying the handle.
NoCamera, Offscreen
No camera this frame, or the point is behind it. Not a point on the screen.
NoSurface
This backend has no overlay to draw into.
UnknownKey, WrongKind
config@1 was asked for a key the manifest never declared, or as the wrong kind.
Denied
The host refused this call for this mod, such as a capability that needs a grant it was not given.

Install refuses

Install checks every package against the registry's signed metadata before it asks you anything, and again after downloading. It refuses when a package's size, digest or signature is not the one the registry gave, when the signing key is revoked or does not sign for that namespace, and when two version ranges in the graph cannot both hold. axiom verify <file.axpkg> runs the same checks on one package file and says which failed.

An update is asked about again, rather than carried over, when it adds a package, makes one native, asks for a capability it did not before, or is signed by a different key.

A mod stopped running

A mod that faults repeatedly is suspended, and the suspension is in the next frame's report and the log. A mod that runs out of fuel is stopped by the runtime, which charges for every call into the host. axiom logs --game <id> --mod <id> shows what happened the last time the game ran.

Attach refuses

Attach matches, it never scans. It refuses a game whose build no profile covers, and a module whose hash is not the one the profile names, rather than searching a different build for something that looks right. It also refuses any game the vouched list does not name, with no override: Axiom attaches only to builds verified to run without anticheat. Today no game is vouched for the headless backend, so axiom attach refuses every one.

A pack does not answer

  • Several packs are installed for the game and none is picked. None answers until you run axiom pack switch <id> --game <game>. A pick is never guessed by directory order.
  • A name did not resolve. The game updated, or the pack is for another build. There is no pack rather than a pack reading the wrong bytes, and the failure names what could not be found.