fix(cloudcmd) readIndex: params -> error, params