title: Error Invalid filter or pagination Issue node.js
body: <p>I am writing a program that pulls data from an API and saves the data locally as a json file on my computer (to later be sorted and sent out again). My program was working fantastically until I tweaked a few settings and now I get the error 'invalid filter or pagination input. and I'm not really sure what that means.</p>
  <p>Here is my code that was working, it is the method that fetches history from an API:</p>
  <pre><code>historyModule
      .fetchAll({
          directions: [HistoryDirection.OUTGOING],
          types: [HistoryEntryType.CALL],
          connectionIds: ['p0', 'p70'],
          startDate: new Date('00-01-2022'),
  //        endDate: new Date('01-07-2022')
      },
      {
          limit: 1000
      })
      .then(data =&gt; { 
  //        console.log(data)
          let dataToString = JSON.stringify(data, null, 1)
          fs.writeFile(&quot;/mnt/c/Users/bradley.schapf/Documents/test.json&quot;, dataToString)
      })
      .catch(console.error)
  </code></pre>
  <p>As you can see, there are a few different elements for tweaking the result of the information, such as a limit to how many entries are fetched, date specification, and most importantly the 'connectionIds', which are the different users that I am pulling data from (a call history to be more exact).</p>
  <p>at first I only used two users to test if it worked with the intention of adding many more users (connectionIds) to the list. so once it was working with two users I changed the following lines</p>
  <pre><code>        connectionIds: ['p0', 'p109', 'p111', 'p70'], //added two more users
          startDate: new Date('03-01-2022'),          //changed the date from January to March
          ...
          limit: 5000                                //upped the entry limit from 1000 to 5000
  </code></pre>
  <p>I'm not sure why but those three small changes just broke my program. I don't see a reason why upscaling the data I'm fetching would produce an error. any pointers in the right direction or explanations about what the error really means would be greatly appreciated.</p>
  <p>btw, this is my first question here so please forgive me for any mistakes or lack of clarity in my question :)</p>