> ## Documentation Index
> Fetch the complete documentation index at: https://www.zkcompression.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug ProofVerificationFailed (0x179b)

> Common cause and debug steps for ProofVerificationFailed (0x179B / 6043)

### Description

You're passing an invalid proof. The proof provided cannot be verified against the expected state.

<Check>
  <div style={{display: "flex", alignItems: "center", padding: 0, margin: 0}}>
    <span style={{margin: 0, padding: 0, marginLeft: "8px"}}>For help with debugging use the [MCP Configuration](/ai-tools/mcp) or AskDevin via</span>

    <a href="https://deepwiki.com/Lightprotocol/light-protocol" style={{padding: 0, margin: 0, display: "inline-block"}}>
      <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki" style={{padding:0, margin:0, verticalAlign: "middle"}} />
    </a>
  </div>
</Check>

### Common causes and Debug Steps

<Info>
  For a complete example of proper client+on chain flows, see the [Counter Program](https://github.com/Lightprotocol/program-examples/blob/main/counter/anchor/programs/counter/src/lib.rs#L26).
</Info>

<Accordion title="Inconsistent Address Seed - Client seeds don't match on chain address derivation">
  Compare client vs on chain seeds/addresses. Both should be identical.

  ```typescript theme={null}
  // Client - log seeds/address used to request proof
  console.log("Client seeds:", seeds, "address:", address);
  ```

  ```rust theme={null}
  // Onchain - log seeds/address
  msg!("Program seeds: {:?}, address: {:?}", seeds, address);
  ```
</Accordion>

### Still having issues? We're here to help!

* Reach out on [Discord](https://discord.com/invite/CYvjBgzRFP) for support
* Share the exact error code and a reproducer (GitHub repo or [Gist](https://gist.github.com/))
