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!