I am facing this error,i follow all step first i propose a multisig transaction from the account of "adeelabbasna" then i approved the transaction with account of "rajazahoor11", Now i want to execute multsig transaction but they give me authorization failed error. One thing i want to mention i already checked my private key and public key everything is perfect.

Here is my API:

app.post('/execute', async (req,res) => {
 (async () => {
 await api.transact({
  actions: [{
    account: 'eosio.msig',
    name: 'exec',
    authorization: [{
      actor: "rajazahoor11",
      permission: 'active',
    data: {
      proposer: "adeelabbasna",
      proposal_name: "changowner12",
      executer: "rajazahoor11"
}, {
  blocksBehind: 3,
  expireSeconds: 30,
  broadcast: true,
  sign: true

Here is my error

(node:9236) UnhandledPromiseRejectionWarning: Error: assertion failure with message: transaction authorization failed at new RpcError (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-rpcerror.js:27:28) at JsonRpc. (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:121:35) at step (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:37:23) at Object.next (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:18:53) at fulfilled (/home/adeel/Documents/EOSIO apis/Multisig Transaction/5) execu/node_modules/eosjs/dist/eosjs-jsonrpc.js:9:58) at process._tickCallback (internal/process/next_tick.js:68:7) (node:9236) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:9236) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.