Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendTransaction Error #3

Open
weideyyds opened this issue Nov 12, 2024 · 1 comment
Open

SendTransaction Error #3

weideyyds opened this issue Nov 12, 2024 · 1 comment

Comments

@weideyyds
Copy link

Error Message

{
    "jsonrpc": "2.0",
    "error": {
        "code": -32002,
        "message": "Transaction simulation failed: Error processing Instruction 0: custom program error: 0x26",
        "data": {
            "accounts": null,
            "err": {
                "InstructionError": [
                    0,
                    {
                        "Custom": 38
                    }
                ]
            },
            "innerInstructions": null,
            "logs": [
                "Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 invoke [1]",
                "Program log: Error: InvalidSplTokenProgram",
                "Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 consumed 10088 of 200000 compute units",
                "Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 failed: custom program error: 0x26"
            ],
            "replacementBlockhash": null,
            "returnData": null,
            "unitsConsumed": 10088
        }
    },
    "id": 2
}

And don't Convert SOL to WSOL (Wrapped SOL) first?
And don't CreateAssociatedTokenAccount?

@ebbservices
Copy link

Hi @weideyyds ,
any update here? Did you solve the problem? Currently I also have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants