Error Code -5 Invalid Permission

+2 votes

When running on a single server and tried using

multichain-cli chain -datadir=.multichain -rpcuser=admin -rpcpassword=admin grant 1Nhn4A9kN7cPrpSCcsA3gibFqpbMQxLxgwW9rm connect,send,receive 

I get an error message

 

{"method":"grant","params":["1Nhn4A9kN7cPrpSCcsA3gibFqpbMQxLxgwW9rm","connect,send,recieve"],"id":1,"chain_name":"chain"}

error code: -5

error message:

Invalid permission

 

Have not seen anything on this error code....what does it mean?

asked Jan 11, 2017 by kendall

1 Answer

+1 vote
 
Best answer

You misspelled the permission receive

answered Jan 12, 2017 by MultiChain
selected Jan 12, 2017 by kendall
man o man....i was just about to delete this comment after waking up and realising the error. so embarrassing ....don't code while sleeping
...