Error: 'number' and 'msg' parameters are required.