eosjs
eosjs copied to clipboard
A RpcError when trying to add a new permission to an existing account
Hello everyone. I have an issue with eosjs pacage. I'm trying to add new permission to a test account(the name is "liontesterr4". It's valid. It has 12 characters), it created in Jungle TestNet service. I'm using this article https://developers.eos.io/manuals/eosjs/latest/how-to-guides/how-to-create-permissions.
I can execute (api.rpc.get_account('liontesterr4')
without any problems. The output is below
But when I try to execute this code I always have the same error
Caught exception: Error: Name should be less than 13 characters, or less than 14 if last character is between 1-5 or a-j, and only contain the following symbols .12345abcde fghijklmnopqrstuvwxyz
(The acc name, public key are valid)
There is Missing Authorizations article in Troubleshooting section (EOSIO developers docks). But the information from it isn't enough to solve my problem. I say it again my test account's name and key are valid and correct. Help me please. Thanks for your time