Cadence flow blockchain Error: failed to execute the script on the execution node

Viewed 19

We are using @onflow/fcl (cadence language) and dapper wallet to do blockchain transactions and calling this endpoint!

https://access-mainnet-beta.onflow.org/flow.access.AccessAPI/ExecuteScriptAtLatestBlock

After calling above endpoint we are getting this error which is not descriptive enough to get an idea.

Error: failed to execute the script on the execution node execution-any-id@p2p.1234-5678-9811-1234-1234567.flow.bison.run:1234=123: rpc error: code = InvalidArgument desc = failed to execute script at block.

This is a POST call and doing it from Next.js frontend using SSR.

Any help is appreciated!

1 Answers

To access to flow mainnet endpoint, the endpoint is

https://rest-mainnet.onflow.org

and one thing your question is not fully understood, please provide specific details like you are interacting with FCL on frontend or backend.

Related