{"action":"created","issue":{"url":"https://api.github.com/repos/steemit/steem-js/issues/420","repository_url":"https://api.github.com/repos/steemit/steem-js","labels_url":"https://api.github.com/repos/steemit/steem-js/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/steemit/steem-js/issues/420/comments","events_url":"https://api.github.com/repos/steemit/steem-js/issues/420/events","html_url":"https://github.com/steemit/steem-js/issues/420","id":387869819,"node_id":"MDU6SXNzdWUzODc4Njk4MTk=","number":420,"title":"steem.broadcast.accountUpdate Error: Missing Active Authority","user":{"login":"tomobrien2004","id":13018652,"node_id":"MDQ6VXNlcjEzMDE4NjUy","avatar_url":"https://avatars1.githubusercontent.com/u/13018652?v=4","gravatar_id":"","url":"https://api.github.com/users/tomobrien2004","html_url":"https://github.com/tomobrien2004","followers_url":"https://api.github.com/users/tomobrien2004/followers","following_url":"https://api.github.com/users/tomobrien2004/following{/other_user}","gists_url":"https://api.github.com/users/tomobrien2004/gists{/gist_id}","starred_url":"https://api.github.com/users/tomobrien2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomobrien2004/subscriptions","organizations_url":"https://api.github.com/users/tomobrien2004/orgs","repos_url":"https://api.github.com/users/tomobrien2004/repos","events_url":"https://api.github.com/users/tomobrien2004/events{/privacy}","received_events_url":"https://api.github.com/users/tomobrien2004/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T17:40:26Z","updated_at":"2018-12-06T18:38:05Z","closed_at":"2018-12-06T18:38:05Z","author_association":"NONE","body":"I am trying to update a users json_metadata using the steem.broadcast.accountUpdate() method.\r\n\r\nI get the privateKeys like so:\r\n\r\n`var privateKeys = steem.auth.getPrivateKeys(\"username\", \"password\");`\r\n\r\nAnd the method looks like this:\r\n\r\n```\r\nsteem.broadcast.accountUpdate(\r\n    privateKeys.active,\r\n    account.username,\r\n    undefined,\r\n    undefined,\r\n    undefined,\r\n    privateKeys.memoPubkey,\r\n    json_metadata,\r\n    function(err, result) {\r\n        console.log(err, result);\r\n    }\r\n});\r\n```\r\n\r\nThis gives me the following error whether I use the active or owner private key:\r\n\r\n**RPCError: missing required active authority:Missing Active Authority**\r\n\r\nAny ideas why it is giving the 'required active authority error and how to fix it?\r\n\r\nThanks in advance.... been pulling my hair out!\r\n\r\n(I got the code for the accountUpdate from this previous issue: [https://github.com/steemit/steem-js/issues/165](url)\r\n\r\n**NOTE**: I used the memoPubkey because when I used the private memo key it gave the following error:\r\n\r\nError: transaction.operations = account_update,[object Object]\tcause: account_update.memo_key = 5JDxxxxxxxxxxxxxxxxx\tcause: Expecting key to begin with STM, instead got 5JD\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/steemit/steem-js/issues/comments/444981093","html_url":"https://github.com/steemit/steem-js/issues/420#issuecomment-444981093","issue_url":"https://api.github.com/repos/steemit/steem-js/issues/420","id":444981093,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDk4MTA5Mw==","user":{"login":"tomobrien2004","id":13018652,"node_id":"MDQ6VXNlcjEzMDE4NjUy","avatar_url":"https://avatars1.githubusercontent.com/u/13018652?v=4","gravatar_id":"","url":"https://api.github.com/users/tomobrien2004","html_url":"https://github.com/tomobrien2004","followers_url":"https://api.github.com/users/tomobrien2004/followers","following_url":"https://api.github.com/users/tomobrien2004/following{/other_user}","gists_url":"https://api.github.com/users/tomobrien2004/gists{/gist_id}","starred_url":"https://api.github.com/users/tomobrien2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomobrien2004/subscriptions","organizations_url":"https://api.github.com/users/tomobrien2004/orgs","repos_url":"https://api.github.com/users/tomobrien2004/repos","events_url":"https://api.github.com/users/tomobrien2004/events{/privacy}","received_events_url":"https://api.github.com/users/tomobrien2004/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T18:38:05Z","updated_at":"2018-12-06T18:38:05Z","author_association":"NONE","body":"This was happening because I was using the private posting key to generate the private keys instead of the owner/active private key"}}
{"actor":{"display_login":"tomobrien2004"}}