Skip to content

Transaction simulation failed: Error processing Instruction 0: insufficient account keys for instruction #9

@DaikyXendo

Description

@DaikyXendo

I followed the instructions everything was fine until I ran the test with solana-movie-client I got the following error message:

SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: insufficient account keys for instruction.
Logs:

[
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ invoke [1]',
    'Program log: process_instruction: AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ: 3 accounts, data=[0, 27, 0, 0, 0, 66, 114, 97, 118, 101, 104, 101, 97, 114, 116, 57, 48, 54, 56, 57, 54, 46, 54, 53, 55, 48, 52, 49, 48, 54, 57, 53, 5, 13, 0, 0, 0, 65, 32, 103, 114, 101, 97, 116, 32, 109, 111, 118, 105, 101]',
    'Program log: Adding movie review...',
    'Program log: Title: Braveheart906896.6570410695',
    'Program log: Rating: 5',
    'Program log: Description: A great movie',
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ consumed 27607 of 200000 compute units',
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ failed: insufficient account keys for instruction'
  ]
}

Is there any way to fix it? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions