title: Getting message: "Match failed [400]", errorType: "Meteor.Error" when using rocketchat methods(loadHistory) in Reactjs
body: <p>I am trying to integrate Rocket chat to my application using <a href="https://github.com/mondora/asteroid" rel="nofollow noreferrer">asteroid</a> but when I use Rocket.chat's <a href="https://rocket.chat/docs/developer-guides/realtime-api/method-calls/load-history/" rel="nofollow noreferrer">LoadHistory method</a> I get <code>{isClientSafe: true, error: 400, reason: "Match failed", message: "Match failed [400]", errorType: "Meteor.Error"}</code>. To be clear, I have never used Rocket.chat or Asteroid before. However some methods are working flawlessly. </p>
  
  <pre><code>/**
   * Calls a server-side method with the specified arguments.
   * @param method  string required: the name of the method to call
   * @param params  [param1, param2, ...] any optional: parameters passed to the 
     server method
   * @return Promise resolved, rejected
  */
  let asteroidMethods = function (method, param){
    return socket.call(method, param)
  };
  
  getMessageHistory = (lastMessage) =&gt; {
    let param =[ lastMessage.rid, null, 50, lastMessage['ts']['$date']];
    asteroidMethods("loadHistory", param).then(res=&gt;{
      console.log(res)
    }).catch(e=&gt;{
      console.log(e)
    })
  } 
  </code></pre>