GET request in MSP Manager's API with a lot of data freezes browser

Last Modified

Tues Feb 27 21:07 GMT 2023

Description

  • Making a GET request in MSP Manager's public API where there will be a lot of results freezes browser and no results are displayed
  • For MSP Manager accounts with a large number of tickets, assets, service items, customers, invoices etc, performing a GET request for those items in the API freezes the browser and displays a time out error similar to the one below:

Environment

MSP Manager

Solution

  • While you can use Swagger to interact with MSP Manager data, its main purpose is to discover the available endpoints and view the parameters for use in other scripting tools. Those interactions are properly throttled and should not time out.

  • In some cases, you can click the Wait button in your browser's error message and the page will become responsive and return data. Depending on the amount of data, you may have to click the Wait button multiple times.

  • Review the Public API topic in the MSP Manager User Guide for more information on using Swagger to interact with the public API.