RPC scaninput: change format of error message