GetScatter / ScatterWebExtension

Extension that allows you to sign transactions with your private keys securely from within the browser without ever exposing them.
MIT License
366 stars 127 forks source link

Missing required accounts, repull the identity #147

Closed williamleecn closed 6 years ago

williamleecn commented 6 years ago
   scatter.eos(w, window.Eos, {
            broadcast: false,
            sign: true,
            chainId: "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906"
        }, "https").contract("eosio.token").then(function (a) {
            a.transfer(_name, 'xxx', '1 EOS', '').then(function (n) {
                console.log(n)
            })
 })

occur error ,the console show: {type: "account_missing", message: "Missing required accounts, repull the identity", code: 402, isError: true}

nsjames commented 6 years ago

This usually means the account you are trying to sign from isn't the one you have linked to the permissioned identity, or doesn't have the right permissions.

Make sure the account name is correct, and that the @active or @owner matches the options passed into eosjs. ( @active if none is specified )

iFrankWu commented 6 years ago

hi James,

This is a bug with Scatter 6.1.6 and 6.1.7, All my codes are worked with 6.1.3, But with 6.1.6 will met issue #149 , and I upgrade it to 6.1.7, then I met above issue. Please fix it soon. thanks. @nsjames

Thanks Frank

iFrankWu commented 6 years ago

@williamleecn did you resolve it finnaly?

nsjames commented 6 years ago

I'm still unable to find an issue with the latest version :(

Do me a favor, try opening the background script and checking for errors there ( chrome://extensions, developer mode top right, then background script link on Scatter extension )

Also try nuking your Scatter and setting it back up, maybe it's a permissions issue if some structure changed, though that would have affected all users.

iFrankWu commented 6 years ago

Hi James,

I upgrade eosjs version fixed the issue. image

Anyway, Thank you very much. our game will release soon, will bring a large of customer to Scatter. @nsjames

Thanks, Frank

nsjames commented 6 years ago

Well I didn't expect that. Shouldn't have mattered but ¯\(ツ)