Questions tagged [error]

The tag has no usage guidance.

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

My wallet can't send sol to others and can't mint nft

I met a problem my sol address can't send out sol to another wallet but can send it into it, and my address can't mint nft. Really don't know what's with it. Really strange. My address is ...
user9385's user avatar
0 votes
1 answer
32 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
34 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
2 votes
2 answers
39 views

createInitializeMintInstruction() ----> error: invalid account data for instruction using

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
34 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
2 answers
51 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
17 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
-3 votes
0 answers
23 views

Why outages normal in solana chain?

What happened to solana chain. Why the chain experiencing outages in sometimes. What is the different with respect to bitcoin and ethereum in solana that causes outages? And, why people evaluate the ...
User's user avatar
  • 1
0 votes
1 answer
82 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
3 votes
1 answer
507 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
  • 31
1 vote
1 answer
95 views

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
  • 11
2 votes
0 answers
245 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
49 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
  • 13
1 vote
1 answer
52 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
37 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
0 votes
1 answer
148 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
35 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
107 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
5 votes
1 answer
161 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
  • 580
0 votes
1 answer
58 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
67 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
47 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
  • 111
0 votes
1 answer
60 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
0 votes
0 answers
243 views

Helium Wallet App Issue: IOT Token Rewards Not Appearing after Claim

I've been attempting to claim my IOT token rewards using the Helium Wallet app. The process seems to go smoothly, and the app guides me through without any hitches. However, when I inspect my wallet ...
Poop7000's user avatar
2 votes
1 answer
72 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
392 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
0 votes
0 answers
49 views

Getting error while running cargo build-bpf

I was trying to compile this contract but ended up getting this error Error Error: Function ZN14solana_program4vote5state9VoteState11deserialize17hdfad8c2762e760a5E Stack offset of 6344 exceeded max ...
Hitesh Garg's user avatar
0 votes
0 answers
132 views

Transaction simulation failed: Error processing Instruction 1: custom program error: 0xbbf

I get the following error when trying to execute an instruction: Transaction simulation failed: Error processing Instruction 1: custom program error: 0xbbf This is the account: #[derive(Accounts)] pub ...
Adrian Covaci's user avatar
2 votes
1 answer
225 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
  • 362
0 votes
1 answer
56 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
57 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
132 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
298 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,256
1 vote
1 answer
311 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
243 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
4 votes
1 answer
1k 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
  • 423
5 votes
2 answers
421 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
3 votes
1 answer
609 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
968 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
7 votes
3 answers
2k 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
4 answers
416 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
57 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
106 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
122 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
204 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
612 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
246 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
235 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
230 views

`cargo build-sbf` doesn't work 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
2 votes
2 answers
925 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
  • 3,001