{
 "_about": "Generated by scripts/gen-atoms.py from play/errors.md and api/error-codes.md. Match `match` (substring) or `code` against a failed transaction's log or code.",
 "errors": [
  {
   "source": "play/errors.md",
   "match": "`account sequence mismatch`",
   "meaning": "Two txs from one key before the first landed",
   "fix": "One tx per key at a time; wait ~6s (one block). Background computes on one key are fine when their completions are well apart (a fresh mine and refine land ~17 h apart); never launch two that will finish together."
  },
  {
   "source": "play/errors.md",
   "match": "`struct owner must match planet`",
   "meaning": "You tried to build on a planet that is not yours — usually because you have no planet yet",
   "fix": "Explore first: `planet-explore -- [player-id]`, then build on the planet ID it gives you. Check `planetId` with `structsd query structs player [player-id]`. [Hour 1](../new/hour-1.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`needs a command struct before deploy` / `needs an online command struct` (1450)",
   "meaning": "No Command Ship yet, or it is offline. The fleet and Command Ship appear at your first `planet-explore`; planet builds need the Command Ship online",
   "fix": "Explore first if you have no fleet. If the Command Ship is offline, free power and activate it. [fleet](../knowledge/mechanics/fleet.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`cannot build while away` / `cannot … while away` (1453)",
   "meaning": "Your fleet is off station (away from your planet), so planet actions are refused and your planet is raidable",
   "fix": "Move the fleet home: `fleet-move -- [fleet-id] [your-planet-id]`. [defense](../knowledge/mechanics/defense.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`(X) not found` (1050)",
   "meaning": "The ID you gave does not exist, or names the wrong kind of object (a struct ID where a fleet ID is needed, for example)",
   "fix": "Check the ID: the prefix says the kind (`1-` player, `2-` planet, `5-` struct, `9-` fleet). Look it up with `structsd query structs struct [id]`, or paste it into the [Lab](/lab/)'s Inspect box."
  },
  {
   "source": "play/errors.md",
   "match": "`struct (X) is … but must be …` (1250)",
   "meaning": "The struct is in the wrong state for that action: not built yet, already online, offline, or destroyed",
   "fix": "Read its state first (`structsd query structs struct [id]`): finish the build before activating it; activate only what is offline; a destroyed struct cannot be used. [building](../knowledge/mechanics/building.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`is empty, nothing to mine`",
   "meaning": "Your planet's ore has all been mined",
   "fix": "Refine the ore you hold, then explore a new planet. [planet](../knowledge/mechanics/planet.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`new planet cannot be explored while current planet`",
   "meaning": "Your current planet still has ore to mine",
   "fix": "Mine it out first; you can only explore again once it is empty. [planet](../knowledge/mechanics/planet.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`required charge of N` … `only had M` (1200)",
   "meaning": "Not enough charge. Charge is the number of blocks since your last charge action, and every charge action resets it to 0",
   "fix": "Wait N − M more blocks (a few seconds each). Build 1, activate 2, move 3, an attack its weapon's charge. [building](../knowledge/mechanics/building.md#charge-accumulation)"
  },
  {
   "source": "play/errors.md",
   "match": "`cannot handle new load requirements (required: X, available: Y)` (1201)",
   "meaning": "Not enough power headroom for the new load (values in mW). If the two numbers are tiny and equal, like `required: 1, available: 1`, it is the per-player build limit instead: you already own the maximum of that struct type",
   "fix": "For power: deactivate structs you don't need, choose a better-powered guild, or raise capacity. For the build limit: most planet structs and the Command Ship are 1 per player, so use the one you have. [power](../knowledge/mechanics/power.md) · [build limits](../knowledge/mechanics/building.md) · [guild power](../run/guild-power.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`is offline due to power` (1201)",
   "meaning": "Your load is above your capacity, so you cannot act",
   "fix": "Shed load first: deactivating costs no charge and works while offline. [offline](../playbooks/situations/offline.md)"
  },
  {
   "source": "play/errors.md",
   "match": "`out of gas`",
   "meaning": "Missing/low gas, or estimate exceeded the meter",
   "fix": "Always pass `--gas auto --gas-adjustment 1.5`. Free gameplay txs still need it."
  },
  {
   "source": "play/errors.md",
   "match": "`insufficient funds` naming a `structs1…` address you don't recognise",
   "meaning": "Your **vault** is short, not your key — infusion, generator fuel, agreements, Central Bank and rank purchases all pay from the vault",
   "fix": "Check `playerInventory.rocks`; find the vault address with `structsd query structs vault [your-id]`, then fund it from your key: `player-send -- [your-address] [vault-address] [amount]ualpha`. [energy.md — Vaults](../knowledge/mechanics/energy.md#vaults-where-game-alpha-lives)."
  },
  {
   "source": "play/errors.md",
   "match": "`insufficient funds` / fee on a free action",
   "meaning": "Tx fell off the free path (mixed modules)",
   "fix": "Keep a tx purely Structs; don't mix bank/gov messages. See [transactions](../knowledge/mechanics/transactions.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`address is not registered as a player` (ante 2010)",
   "meaning": "Fresh key tried `reactor-infuse` or another gameplay message before a player exists",
   "fix": "Bootstrap with `structsd tx staking delegate` or a guild proxy signup. [onboarding](/skills/structs-onboarding/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`already used their charge action this block` (2021) / `multiple charge-consuming messages` (2020)",
   "meaning": "One charge-consuming message per player per block/tx",
   "fix": "Send one charge action per block, and wait until your charge covers the next one: it grows by 1 per block and every charge action resets it to 0. Build-initiate and trash need 1, activate 2, move 3, and an attack its weapon's charge (3 or more; see struct types). So builds can go one block apart; an activate needs two blocks after your last charge action. [building.md](../knowledge/mechanics/building.md#charge-accumulation)."
  },
  {
   "source": "play/errors.md",
   "match": "`exceeded per-block message cap` (2040) / `CheckTx free-tx cap` (2041)",
   "meaning": "40 messages per player per block, 5 queued free txs per address",
   "fix": "Spread submissions across blocks; a stuck mempool clears next block. [transactions](../knowledge/mechanics/transactions.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`reactor stake cap exceeded` (1613)",
   "meaning": "Reactor already holds ≥30% of bonded stake",
   "fix": "Pick another reactor; check `reactor-stake-share` headroom first. [energy skill](/skills/structs-energy/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`vault_owner_mismatch`",
   "meaning": "Both `--owner-id` and `--delegator-address` given, and the address is not that owner's vault",
   "fix": "Drop one flag; default is your own vault."
  },
  {
   "source": "play/errors.md",
   "match": "`unsupported_supply`",
   "meaning": "Allocation/substation admission found a cycle, an overloaded or jailed ancestor, or >2,048 upstream objects",
   "fix": "Source from a healthier supply; simplify the chain. [energy.md](../knowledge/mechanics/energy.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`deletion_pending`",
   "meaning": "Substation is mid-delete; new connections refused",
   "fix": "Connect to another substation (or the guild's new entry substation)."
  },
  {
   "source": "play/errors.md",
   "match": "`expiration_height_full`",
   "meaning": "256 agreements already expire at that end height",
   "fix": "Shift `duration` by a block. [commerce skill](/skills/structs-commerce/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`duplicate_infusion` / wrong coin on generator",
   "meaning": "`struct-generator-infuse` takes exactly one coin (`ualpha` or `alpha`)",
   "fix": "Pass a single denomination."
  },
  {
   "source": "play/errors.md",
   "match": "`primary_full_access_required`",
   "meaning": "Tried to narrow the primary address below `PermAll`",
   "fix": "Register a second key for the limited role instead. [permissions](/skills/structs-permissions/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`self_defense`",
   "meaning": "Struct set to defend itself",
   "fix": "Pick a different, co-located fleet struct."
  },
  {
   "source": "play/errors.md",
   "match": "`unknown command` / `unknown flag`",
   "meaning": "Wrong CLI name or an ID parsed as a flag",
   "fix": "Check the command name; put `--` before entity IDs (`... -- 4-5`). See [conventions](/skills/conventions.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`not online` / power / capacity",
   "meaning": "You're offline (load > capacity)",
   "fix": "[Offline card](../playbooks/situations/offline.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`under_raid`",
   "meaning": "A visitor heads the planet fleet queue; mine/refine compute and complete reject",
   "fix": "Do not retry compute. [Production](/skills/structs-production/SKILL.html) · [under attack](../playbooks/situations/under-attack.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`queue_full`",
   "meaning": "Visiting-fleet slot full (`1 + locationListExtra`, default extra `0` → one visitor)",
   "fix": "Wait for a departure or send a fleet home. [fleet.md](../knowledge/mechanics/fleet.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`cannot defend` / `StructCannotDefend`",
   "meaning": "Target type has `canDefend: false` (planetary types, including Ore Bunker)",
   "fix": "Assign a fleet-type defender only. [combat.md](../knowledge/mechanics/combat.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`is_owner`",
   "meaning": "Founder already owns a guild",
   "fix": "Transfer that guild before founding another. [guild skill](/skills/structs-guild/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`recipient_not_eligible`",
   "meaning": "`uguild.*` send to IBC, escrow, or an unregistered address",
   "fix": "Send only to a registered player, a player/guild vault, the structs module, or a provider pool. [guild-banking](../knowledge/economy/guild-banking.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`legacy_charter_fields_not_supported`",
   "meaning": "`guild-create` sent with proof/nonce/founder fields",
   "fix": "Send only `[reactor id] [endpoint] [substation id]`; founding costs 2,000,000 ualpha from your vault. [guild skill](/skills/structs-guild/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`rank_purchase_disabled` / `outside_purchase_range` / `quoted_price_exceeded` / `rank_changed` / `membership_changed` / `rank_purchase_admission_disabled`",
   "meaning": "Rank-sale guard tripped",
   "fix": "Re-read `guild [id]` (`rankPurchase*`, your current rank), raise `max-price`, or pick a rank in range. [guild skill](/skills/structs-guild/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`work-failure`",
   "meaning": "A `*-compute` hash was rejected at submit (clock moved, raid pause, someone else completed)",
   "fix": "Check object state and relaunch. [failed compute](../playbooks/situations/failed-compute.md)."
  },
  {
   "source": "play/errors.md",
   "match": "primary-address / `PermAll`",
   "meaning": "`player-update-primary-address` signed by a limited key",
   "fix": "Sign from an address that holds `PermAll`. [permissions](../knowledge/mechanics/permissions.md) · [agent security](../awareness/agent-security.md)."
  },
  {
   "source": "play/errors.md",
   "match": "`not onStation` / fleet",
   "meaning": "Fleet must be on station to build/act there",
   "fix": "Move the fleet and verify status before committing."
  },
  {
   "source": "play/errors.md",
   "match": "planner says `no ... can reach` / `unreachable`, but raw state says legal",
   "meaning": "`structs_strike` reach planning can false-negative on stale or normalized attacker/fleet state",
   "fix": "Refresh the attacker, target, and fleets. Verify attacker Online, matching weapon reach, and actual planet co-location (resolve fleet `locationId` to its planet). If those live checks hold, use the ordinary chain attack preflight; the planner refusal is advisory. [combat skill](/skills/structs-combat/SKILL.html)."
  },
  {
   "source": "play/errors.md",
   "match": "`no available slots`",
   "meaning": "Planet/ambit slot full",
   "fix": "Free a slot or build elsewhere. See [building](../knowledge/mechanics/building.md)."
  },
  {
   "source": "play/errors.md",
   "match": "shield / raid completion rejected",
   "meaning": "The live fleet/Command Ship raidability gate closed; this is not determined by the displayed shield number",
   "fix": "Re-scout the on-station fleet and Command Ship state. [failed compute](../playbooks/situations/failed-compute.md)."
  },
  {
   "source": "play/errors.md",
   "match": "broadcast ok but nothing changed",
   "meaning": "Broadcast ≠ success; a precondition failed",
   "fix": "Query state to confirm. [transaction issues](../troubleshooting/common-issues.md#transaction-issues)."
  },
  {
   "source": "play/errors.md",
   "match": "`structs-ante/2004` / nested Structs message",
   "meaning": "Structs action inside authz/group, invalid proposal reference, or traversal limit",
   "fix": "Send gameplay messages directly; inspect [nested execution rules](../knowledge/mechanics/transactions.md#direct-messages-and-nested-execution)."
  },
  {
   "source": "play/errors.md",
   "match": "Station input rises but player share stays fixed",
   "meaning": "A nonzero `connectionCapacityMaximum` may be binding",
   "fix": "Query the station’s cap and delivered share; see [energy](../knowledge/mechanics/energy.md#substations-connectioncapacity-dilutes)."
  },
  {
   "source": "play/errors.md",
   "match": "permission / unauthorized",
   "meaning": "Missing permission bit for the action",
   "fix": "[permissions](../knowledge/mechanics/permissions.md); skill: [permissions](/skills/structs-permissions/SKILL.html)."
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1050",
   "match": "`ErrObjectNotFound`",
   "meaning": "ErrObjectNotFound",
   "fix": "Verify object and source; resource absence is distinct from query unavailability"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1100",
   "match": "`ErrPermission`",
   "meaning": "ErrPermission",
   "fix": "Check current object and signing-key authority"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1152",
   "match": "`ErrPlayerOffline`",
   "meaning": "ErrPlayerOffline",
   "fix": "Refresh power state and action eligibility"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1200",
   "match": "`ErrInsufficientCharge`",
   "meaning": "ErrInsufficientCharge",
   "fix": "Wait for eligible current charge before a later action"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1613",
   "match": "`ErrReactorStakeCapExceeded`",
   "meaning": "ErrReactorStakeCapExceeded",
   "fix": "Read current reactor stake share/cap and choose an eligible target"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs",
   "code": "1900",
   "match": "`ErrInvalidPacketTimeout`",
   "meaning": "ErrInvalidPacketTimeout",
   "fix": "Diagnose IBC timeout input; this is not object-not-found"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs-ante",
   "code": "2002",
   "match": "`ErrUnknownStructsMessage`",
   "meaning": "ErrUnknownStructsMessage",
   "fix": "Use a supported message type"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs-ante",
   "code": "2004",
   "match": "`ErrNestedStructsMessage`",
   "meaning": "ErrNestedStructsMessage",
   "fix": "Send Structs messages directly, outside authz/group wrappers; check proposal references and traversal bounds. See [nested execution](../knowledge/mechanics/transactions.md#direct-messages-and-nested-execution)"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs-ante",
   "code": "2005",
   "match": "`ErrInvalidProofIdentity`",
   "meaning": "ErrInvalidProofIdentity",
   "fix": "Diagnose proof identity before signing"
  },
  {
   "source": "api/error-codes.md",
   "codespace": "structs-ante",
   "code": "2022",
   "match": "`ErrPlayerDischargedThisBlock`",
   "meaning": "ErrPlayerDischargedThisBlock",
   "fix": "Wait for a later eligible action"
  }
 ]
}
