BitShares Forum
		Main => Technical Support => Topic started by: madforstrength on June 14, 2016, 11:48:39 am
		
			
			- 
				Hi @xerion , @svk ,
 
 I am developing functionality to upgrade account in my application. I have tried following:
 res = client.upgrade_account("mbilal-knysys", True)
 But Above code is giving me below error:
 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:
 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
- 
				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
- 
				@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 usingwss://bitshares.dacplay.org/ws as rpc endpoint for my wallet
- 
				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.