eos icon indicating copy to clipboard operation
eos copied to clipboard

3090003 error

Open wchh opened this issue 8 years ago • 3 comments

use rpc push_transcation:

{
  "compression": "none",
  "transaction":
  {
    "expiration": "2018-05-30T19:20:21",
    "ref_block_num": 210539,
    "ref_block_prefix": 633989158,
    "actions": [
    {
      "account": "eosio.token",
      "name": "transfer",
      "authorization": [
      {
        "actor": "w.1",
        "permission": "active"
      }],
      "data": "00000000000002e000000000000004e0a08601000000000004585041000000000478787878"
    }]
  },
  "signatures": ["SIG_K1_KX8wz2WEpnn2ZPqSeZ8qT6rJLSv2Z6vcBFNEzTtfFKLr9NPk1wHrALCg19fv6JQrTmQH8sLct7DSKjWNEsAsM9tQCi2dhA"]
}

return error:

{
  "code": 500,
  "message": "Internal Service Error",
  "error":
  {
    "code": 3090003,
    "name": "unsatisfied_authorization",
    "what": "provided keys, permissions, and delays do not satisfy declared authorizations",
    "details": [
    {
      "message": "transaction declares authority '{\"actor\":\"w.1\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms",
      "file": "authorization_manager.cpp",
      "line_number": 405,
      "method": "check_authorization"
    }]
  }
}

wchh avatar May 30 '18 19:05 wchh

use cleos is OK

wchh avatar May 30 '18 19:05 wchh

hi ,is it ok of RPC api push_transaction ?

aiguo186 avatar May 31 '18 09:05 aiguo186

Resolved! when sign tx must with chain_id from get_info

wchh avatar May 31 '18 12:05 wchh