EOSIO / eosjs

General purpose library for the EOSIO blockchain.
http://eosio.github.io/eosjs
MIT License
1.43k stars 463 forks source link

code":3090003 #214

Closed xntop closed 6 years ago

xntop commented 6 years ago

[push_transaction 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":[]}}', transaction

jcalfee commented 6 years ago

Unsatisfied_authorization means the wrong key for the "authorization" in the transaction. It can also mean the wrong chainId, but in recent versions of eosjs you will see a warning about in advance.

xntop commented 6 years ago

update the least package, 3090003 error has fixed. but has 3050003 error

api < error undefined http://192.168.1.207:8888/v1/chain/push_transaction {"compression":"none","transaction":{"expiration":"2018-06-23T06:09:13","ref_block_num":54012,"ref_block_prefix":2456212455,"net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio.token","name":"transfer","authorization":[{"actor":"11111111test","permission":"active"}],"data":"90b1ca21841042081042082184103cbd000000000000000004454f53000000000474657374"}],"transaction_extensions":[]},"signatures":["SIG_K1_Jvys5ZsuC1mpiX6xtn779hPPcdQAQpgvXYHzGJDbJS7DyJH1JPEADpXZptXAme1nNbNYzQZiY7Mm7ntt1Zt9LDddZwYx45"]}

ExceptionsManager.js:71 Error: {"code":500,"message":"Internal Service Error","error":{"code":3050003,"name":"eosio_assert_message_exception","what":"eosio_assert_message assertion failure","details":[]}} at apigen.js:95 at tryCallOne (core.js:37) at core.js:123 at JSTimers.js:295 at _callTimer (JSTimers.js:152) at _callImmediatesPass (JSTimers.js:200) at Object.callImmediates (JSTimers.js:464) at MessageQueue.__callImmediates (MessageQueue.js:327) at MessageQueue.js:145

jcalfee commented 6 years ago

The error's details are empty: "details":[] .. I'm asking about this..

jcalfee commented 6 years ago

Do you have --verbose-http-errors on for nodeosd?