title: Why do I get a "0x1004" when trying to deploy my solana anchor IDL?
body: <p>When I try to deploy an IDL with anchor, I get a cryptic &quot;Custom Error 0x1004&quot; message. What does this mean:?</p>
  <pre><code>$ anchor idl init --provider.cluster testnet --filepath ./target/idl/myprogram.json sa3BafcCxwD6G3tUbvTcvnCD28sCXhpasauLtpw9HdA
  Error: Error processing Instruction 0: custom program error: 0x1004
  </code></pre>