Skip to main content

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
304 views

getProgramAccounts - error when calling

Good day to all. I encountered this problem. When I call getProgramAccounts I don't get a response but an error. Tell me, maybe I’m doing something wrong? My task is to get a list of tokens - am I ...
Seva's user avatar
  • 1
0 votes
0 answers
147 views

Custom program error 0x2e

I an trying to send a transaction to RAYDIUM V4 program to remove liquid from an Liquidity Pool. However, I encountered an error with code 0x2e. From here: https://github.com/raydium-io/raydium-amm/...
Bach Kim's user avatar
3 votes
2 answers
451 views

InitializeMint fails with 'invalid account data for instruction'

I am trying to use the "createInitializeMintInstruction()" using JS to create a token. The problem is when executing, it throws an error. Concretely this one: Transaction simulation failed: ...
lauteriust3's user avatar
1 vote
1 answer
139 views

Send transaction error

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1....
yupigs's user avatar
  • 23
1 vote
1 answer
85 views

Error with sending money

I connected the wallet to my test site, enter the amount for the test payment and click the button, after which a window is displayed and confirmation where it says "That the confirmation period ...
yupigs's user avatar
  • 23
0 votes
1 answer
39 views

solana$ ./cargo test => "error: test failed, to rerun pass `-p solana-cli --test program`" : arguments passed solve nothing

I have a problem when testing the solana chain. I successfully built the solana repo, but after if i do a ./cargo test, i fall on this error: error: test failed, to rerun pass `-p solana-cli --test ...
DavisX's user avatar
  • 3
0 votes
1 answer
463 views

solana$ ./cargo build => "error: linking with `cc` failed: exit status: 1"

I try to install the Solana chain locally but when I execute the ./cargo build command, i fall on this fail: error: linking with `cc` failed: exit status: 1 But if I do a ./cargo build --release i ...
DavisX's user avatar
  • 3
4 votes
1 answer
3k views

error: package `solana-program v1.18.1` cannot be built because it requires rustc 1.72.0 or newer [duplicate]

I tried setting up an Anchor project on my MacBook with an ARM processor, but I encountered an error. Here is step by step that i took % anchor init testproject Only x86_64 / Linux distributed in NPM ...
Quoc Le's user avatar
  • 41
3 votes
1 answer
409 views

'please minimize large stack variables' error on building hello_world

I am trying to run hello_world example and I'm getting this error during building: $ cargo build-bpf Error: Function ZN112$LT$solana_program..instruction..InstructionError$u20$as$u20$...
klipakt's user avatar
  • 31
3 votes
1 answer
1k views

Getting custom program error 0x16 on Raydium after burning LP tokens

I created a liquity pool on Raydium a few days ago and scheduled the pool to be launched 3 days from now. Yesterday I burned the LP (on Sol-incinerator) and since then I noticed there are a lot of ...
kingkong's user avatar
0 votes
1 answer
258 views

getRecentPrioritizationFees is not a function ; solana web3js

I am not able to figure out what is going on.. I am using @solana/web3.js version 1.89.1 (latest) . What am I doing wrong here? Based on this doc, the usage seems to be fine Anyone? Here is my code ...
mesnia's user avatar
  • 23
1 vote
1 answer
532 views

Solana Program failing "An account required by the instruction is missing"

I am currently playing around with Solana Playground and have come across an error that I can not seem to fix. I have written a program for native Solana in Rust with a little help from GPT4 which has ...
Dr. alx's user avatar
  • 11
0 votes
0 answers
126 views

Transactions on a new token get Error: Provided owner is not allowed

I am looking at transactions for newly listed live new pairs tokens on solana. On solscan.io, I have noticed some early transactions for a few tokens (within the first few seconds of the liquidity ...
Ishaq Ruhani's user avatar
1 vote
1 answer
7k views

transaction results in an account (0) without insufficient funds for rent

I am experiencing an error with Solana Phantom Wallet while using the wormhole. transaction results in an account (0) without insufficient funds for rent My balance contains 1000usdc and I also have ...
이강인's user avatar
0 votes
0 answers
54 views

{logs: Array(8) programErrorStack: em stack:failed to send transaction:failed to send transaction:Transaction Instruction 2:Program failed to complete

use anchor_lang::{ prelude::*, solana_program::{clock::Clock, hash::hash, program::invoke, system_instruction::transfer}, }; mod constants; mod error; use crate::{constants::*, error::*}; //...
Charbel Nakouzi's user avatar
1 vote
2 answers
258 views

You cannot/should not initialize the payer account as a program account

I'm creating a basic staking contract and just trying to initialize the pool where the reward tokens will be held. I'm receiving the following error: TryingToInitPayerAsProgramAccount. Error Number: ...
blockchief's user avatar
6 votes
1 answer
829 views

How to reduce stack space usage for Anchor programs?

It's common to run into these errors during compile time Stack offset of 6344 exceeded max offset of 4096 by 2248 bytes, please minimize large stack variables or these errors during run time Program ...
Richard's user avatar
  • 630
0 votes
1 answer
218 views

solana playground: Reason: Program failed to complete

I am currently getting into sc development and playing around a bit. Basically I wanted to create a counter where anyone can call the decrease or increase func and modify the value. I think my current ...
Sebastian_B's user avatar
0 votes
2 answers
301 views

Error: IncorrectProgramId at transferCheckedWithFee

import { Connection, Keypair, PublicKey, SystemProgram, Transaction, clusterApiUrl, sendAndConfirmTransaction, } from '@solana/web3.js'; import { ExtensionType, TOKEN_2022_PROGRAM_ID,...
Benny's user avatar
  • 1
1 vote
1 answer
377 views

Issues with Using AnchorSerialize and AnchorDeserialize Traits

so I'm looking to create an instruction that creates an account called GamePot that contains a field called TokenInfo that holds the data for what is meant to be any particular SPL token with a mint ...
Brian M.'s user avatar
  • 141
0 votes
1 answer
257 views

Getting different Buffers in Solana transactions. The front-end and back-end transactions are different

I have a Solana dApp that requests tokens from a wallet that I own. When the user try to claim the Tokens, one transaction is created on the frontend and signed by the user; the signature is coded and ...
ZuckOFB's user avatar
2 votes
1 answer
91 views

Error during installation

Installation fail of Solana CLI on Windows 11. Program 'solana-install-init.exe' failed to run: The file or directory is corrupted and unreadableAt line:1 char:1 + C:\solana-install-tmp\solana-install-...
Yasushiko's user avatar
1 vote
1 answer
701 views

Anchor build errors due to 'getrandom' and 'let...else'

Anchor Version - 0.27.0 Solana Version - 1.14.19 Rust/Cargo Version 1.70 returned to my solana dev server for first time in a while. Start a project with anchor init, and attempt to build the hello ...
Davie Clark's user avatar
3 votes
1 answer
432 views

ValueError: signature error: Cannot decompress Edwards point

I use example in docs solana for python from solders.keypair import Keypair from mnemonic import Mnemonic mnemo = Mnemonic("english") words = mnemo.generate(strength=256) seed = mnemo....
Leo Loki's user avatar
  • 464
1 vote
1 answer
213 views

How to pass values to Anchor error messages

Is there a way to pass values to Anchor error messages that can be read by Anchor clients? Ex. How would I pass the value of data.data below? If this is not possible, what is the best way to retrieve ...
programmer_b's user avatar
1 vote
0 answers
83 views

When nuxt build,An error occurred [closed]

When nuxt build, report such an error :You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
user4083's user avatar
1 vote
0 answers
287 views

Anchor Error: InstructionDidNotDeserialize

I was following this tutorial: "Build a TikTok Web 3.0 Blockchain App with Solana" and got around the 2:50:00 timestamp when I tried adding a TikTok, and it gave me this error: Then I ...
rust duck's user avatar
3 votes
1 answer
712 views

Custom program error 0xbbf, given account is owned by a different program than expected

I was developing without issue on devnet and then decided to deploy to mainnet. Suddenly the same instruction that used to work on devnet gave rise to the following on mainnet Error: failed to send ...
Burger Bob's user avatar
  • 1,506
1 vote
1 answer
424 views

Attempt to debit an account but found no record of a prior credit

I am trying to map the parking space in a location. In the flowing is my account and method to return the available position in a location. #[account] pub struct Location { pub id : String, ...
Thiago's user avatar
  • 21
1 vote
1 answer
681 views

System Program undeclared crate in Anchor

I am getting this error when using anchor build. error[E0433]: failed to resolve: use of undeclared crate or module system_program --> programs/account_data_program/src/instructions/create.rs:22:4 |...
Bryson's user avatar
  • 63
5 votes
1 answer
5k views

Getting error of "Provided owner is not allowed"

I have to send multiple transactions simultaneously so, if there is no token account in the sender or receiver wallet then it first creates the token account and then signs other single transaction ...
Aslam's user avatar
  • 453
5 votes
2 answers
1k views

Error on connection.confirmTransaction: ws error

Problem Hello. I got a problem only on mainnet-beta. Everything is working fine on devnet. Right after my connection.sendTransaction, I'm doing a connection.confirmTransaction this way: const ...
Julien's user avatar
  • 51
4 votes
1 answer
2k views

Error: Non-base58 character

I upload the program to the network, but when interacting it issues this error Error: Non-base58 character at Object.decode (/mnt/c/Users/Mateo/block3/node_modules/base-x/src/index.js:111:11) ...
Mateo Lafalce's user avatar
3 votes
1 answer
2k views

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'publicKey') in solana

let tx = await program.methods.initialize(a,b).accounts({ addAccount: addAccount.publicKey, user: provider.wallet.publicKey, systemProgram: SystemProgram.programId, })....
poojitha's user avatar
11 votes
5 answers
4k views

'blockstore error' when starting solana-test-validator on MacOS 13.0.1

I am trying to start solana-test-validator, but it closes unexpectedly with blockstore error. Error: failed to start validator: Failed to create ledger at test-ledger: blockstore error How can I fix ...
b3zrazli4n0's user avatar
2 votes
5 answers
1k views

Requesting airdrop of SOL on devnet or testnet throws error, rate limit is reached, even though I never reached the rate limit in the first place

I currently only have 0.623 SOL on this account, and I have not requested more than 24 sol per day/ 2 sol per airdrop, so I don't understand why it says "rate limit reached". How can I fix ...
ALsJourney's user avatar
1 vote
0 answers
66 views

"unknown variant `base58`, expected `binary`" error when running `solana program show --buffers | --programs

When I run solana program show --programs ( or with --buffers ), I'm getting this weird error with no details on what's actually wrong. Any suggestions? Error: RPC response error -32602: unknown ...
code_monke's user avatar
1 vote
0 answers
137 views

Sending a transaction does not work in NextJS production mode

i deployed my website built with NextJS on a dedicated node server served by Nginx. When sending a transaction, executing Next in dev mode both locally and on the server everything works fine, but ...
Marco's user avatar
  • 11
1 vote
1 answer
154 views

what is the meaning of custom program error: 0x70? (112 in decimal)

I am getting this error in my contract written in Anchor. I have already checked the custom errors of anchor at https://docs.rs/anchor-lang/latest/anchor_lang/error/enum.ErrorCode.html, but did not ...
flyingsacuer's user avatar
5 votes
2 answers
328 views

How do I deploy a program to Solana - Solana/Rust

I am attempting to run the HelloWorld Solana program. I have cloned this repo. I have started the project with solana-test-validator I ran npm install and then was able to build the rust project with ...
Ramesh's user avatar
  • 229
4 votes
1 answer
1k views

Solana/Rust minting error: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x3

I wanted to test using Rust to create my own token on the Solana network. I have created a wallet holding .07248 SOL I then used rust to create my new Token ID and Token Address. However, when I use ...
Anuj's user avatar
  • 207
5 votes
1 answer
617 views

get Solana transaction status using Rust

I'm trying to get Solana transaction status using Rust. You can get the transaction status using explorer.solana.com, but I want to get it via code. I tried to use the get_signature_status function in ...
Anuj's user avatar
  • 207
4 votes
1 answer
429 views

Getting issue “failed to resolve: maybe a missing crate `solana_program`?”

I am getting the following error when compiling a Solana program: $ npm run build > [email protected] build > cargo build-bpf --manifest-path=./src/program/Cargo.toml --bpf-out-dir=./dist/...
Ramesh's user avatar
  • 229
1 vote
1 answer
293 views

'version OPENSSL_1_1_1 not found' error when running 'cargo build-sbf' on linux

I consistently get this error message when running cargo build-sbf or cargo build-bpf: Warning: cargo-build-bpf is deprecated. Please, use cargo-build-sbf cargo-build-bpf child: /home/anish/.local/...
Anish De's user avatar
3 votes
2 answers
2k views

What is the likely cause of the error `The program could not deserialize the given instruction`

I ran into this error message when running a transaction, any idea what could be going wrong? errorLogs: [ 'Program log: AnchorError occurred. Error Code: InstructionDidNotDeserialize. Error ...
Henry E's user avatar
  • 2,949
0 votes
1 answer
310 views

Avoid 'parsed' type error from getParsedTransaction

As you can see in screenshots, I have a type error. How can I avoid this problem ? The type of my transaction is 'ParsedTransactionWithMeta' from getParsedTransaction method. Same problem with '...
Swifty's user avatar
  • 438
1 vote
1 answer
2k views

Is it possible to test an RPC?

I'm doing some Web3 stuff, when an error appeared at the beginning of the process. Targeting the problem, I realized that the problem was with my RPC (which may have crashed). I temporarily tried an ...
Swifty's user avatar
  • 438
1 vote
1 answer
985 views

receiving the following error using solana cli "Error: RPC response error -32003: Transaction signature verification failure"

I am using the following commands to try and send Solana and am receiving "Error: RPC response error -32003: Transaction signature verification failure" solana transfer --from <file path&...
Ivaldi's user avatar
  • 11
0 votes
0 answers
259 views

Error: Invalid arguments: authority not provided for transaction signed by keypair

I have a code that uses keypair from file to sign transactions. const payer = Keypair.fromSecretKey(BufferJs.from(keypair)); const wallet = new anchor.Wallet(payer); //// //// const tx = ...
agentp's user avatar
  • 235
1 vote
1 answer
2k views

Error: SolanaJSONRPCError code:-32602

When I use my program, 90% of my transactions from the program's instructions pass; but during the 10%, the program throws a SolanaJSONRPCError with -32602 code. Please what does it mean and how can I ...
Ukpeh Michael's user avatar