Loading

Salesforce Field Service Error "Remoting response size exceeded maximum of 15 MB" on Dispatcher Console

Data pubblicazione: Jan 31, 2026
Descrizione

While opening the Salesfoprce Field Service dispatcher console, an error is received stating that the Remoting response size exceeded a maximum of 15 MB.

2021-09-02 18_52_06-W-9843976_ Support Engineer - 30574818 - when trying to open the “Field Service”.png

We were getting an error related to the overall size of the GetResourcesAndTerritories function.
 

Risoluzione

Salesforce Field Service dispatcher console can report the error about the "Remoting response size" because there is a platform limitation that the platform doesn't allow to ship more than 15MB of a remote action response, and sometimes the overall size of the GetResourcesAndTerritories function is returning more than that.

In this particular investigation, we have an implementation issue wherein the customer has set up 427 operating hours, which is fine, but they have created 46520(!) time slots to be assigned to them.

The customer has set up most, if not all of their time slots to be 1 hour long throughout the working day. For example, if an engineer works from 5 AM to 8 PM, they have created timeslots from 5 AM-6 AM, 6 AM-7 AM and so on.

This results in our service territory query retrieving 427 rows, but the inner query that retrieves the operating hours (and time slots) of those territories comes back extremely large, which results in that error.

2021-09-02 19_04_32-W-9843976_ Support Engineer - 30574818 - when trying to open the “Field Service”.png

To resolve the problem where the remoting response size is too large in the Field Service dispatcher console can be solved either using any of the below options:

  1. Re-implement their operating hours to consist of 1 time slot per day. for example from 5 AM to 8 PM. Note that if for some reason they need split time slots(for example 5 AM to 8 AM and 2 PM to 8 PM) that is fine but only if their business logic requires it.
  2. Lower the "Max territories to display on UI" to be less than the number of territories the customer has, this will not retrieve all territories on the init stage and will allow the customer to select which territories they want. Note that this is a less recommended option because if they increase the number of territories it might cause the issue to reoccur and also the customer will stay with the same wrong implementation they currently have that will result in poor performance as explained above.
Numero articolo Knowledge

000390060

 
Caricamento
Salesforce Help | Article