Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

transaction authorization failed in execute A Multisig Transaction #802

Open

Description

@adeelnaqvi172

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
    });
    res.send("execute");
  })();
   });

Error: (i also attached screenshoot)

(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.

new

Here is Screenshot of my Error

wwwe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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