Author Topic: Issue in upgrading account  (Read 1930 times)

0 Members and 1 Guest are viewing this topic.

Offline madforstrength

Ok, I found the issue, he account was imported in my wallet using "owner private key" not "active private key".

Once I imported the ACTIVE private key, it started working. Thanks a lot bro.

Offline madforstrength

@xeroc thanks for your reply,

well my wallet already has that account imported in it.

I dont know if this has something to do with the missing authority but I am using
Quote
wss://bitshares.dacplay.org/ws
as rpc endpoint for my wallet
« Last Edit: June 15, 2016, 04:56:43 am by madforstrength »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
All operations cost a fee and that fee needs to be paid by an existing account.
If you want to use the cli_wallet, then you need to import at least the ACTIVE private key for your account with "import_key <accountname> <privatekey>" first before you can do anything with it.
The private key can be obtained from OpenLedger in the "Permissions" page of your account

Offline madforstrength

Hi @xerion , @svk ,

I am developing functionality to upgrade account in my application. I have tried following:
Code: [Select]
res = client.upgrade_account("mbilal-knysys", True)
But Above code is giving me below error:
Code: [Select]
grapheneapi.grapheneapi.RPCError: 0 exception: unspecified
3030001 tx_missing_active_auth: missing required active authority
Missing Active Authority 1.2.100305

This similar error was occurring when I was trying to create a new account as well.

So I used this url instead to create new user:
Code: [Select]
https://bitshares.openledger.info/api/v1/accounts
I was wondering if you guys can help me out in finding some other way to upgrade account.

Thanks and Regards