---
schema_version: "1"
id: 7f281c0debbb3bdf6fa2d5c14ac04b5c9c3a62198d1ba6ed230d1156d2ed7376
title: Field Service Enhanced Scheduling and Optimization Error Messages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_enhanced_error_messages.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_enhanced_error_messages.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3f869bdab428f191059785ccc5a634658096137a4e13c69a8020292eec9c9727
description: Error messages indicate that something is blocking the operation or automation of scheduling and optimization services. Errors can occur due to operational issues, invalid data, logic configuration, or incorrect setup.
products:
  - Field Service
release: "264"
---
# Field Service Enhanced Scheduling and Optimization Error Messages

Error messages indicate that something is blocking the operation or automation of scheduling and optimization services. Errors can occur due to operational issues, invalid data, logic configuration, or incorrect setup.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Field Service core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

![Package icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/fs_package.png) _This is a Field Service managed package feature._

Identify enhanced scheduling and optimization issues and their root cause with detailed error messages that provide insight into the underlying causes of the issue and promote self-sufficient troubleshooting. The error messages include relevant entity IDs, when applicable, and provide actionable guidance. This information aids service managers, implementers, and administrators in resolving problems efficiently.

The table shows common errors that occur during scheduling and optimization operations.

- Error label: Represents the error code for monitoring and statistical purposes.
- Error message: Includes text displayed in the user interface, logs, or activity reports (depending on the specific operation). The message provides specific error details, including relevant entity IDs about the occurrence of the error.
- Potential resolution: Suggests steps to mitigate the issue and prevent error recurrence. You can then adjust configurations or rectify data to resolve the issue.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Activity Reports provides information about all scheduling and optimization requests that you initiate. You can generate an activity report for a specific request type, such as Global Optimization. If the request fails, the relevant error label shows in the report output. This helps you easily identify and resolve the issue. See [Review the History of Scheduling and Optimization Requests with Activity Reports (Beta)](https://help.salesforce.com/s/articleView?id=service.pfs_activity_reports.htm&type=5&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50.505050505050505%">
        <col style="width:24.242424242424242%">
        <col style="width:25.252525252525253%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d120972e109">Error Label</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d120972e112">Error Message</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d120972e115">Potential Resolution</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Action_Not_Allowed_More_Than_One_Absence_Update_That_Involves_MDT</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't [action type: delete, insert, update] resource absence because it
            affects more than one multiday service appointment: [SAID1, SAID2]. Make sure that
            your optimization request includes only one multiday service appointment and try
            again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>A resource absence can’t be created or modified if it overlaps with multiple
              multiday service appointments.</p>
            <p>To fix this:</p>
            <ul>
              <li>Make sure that there is only one multiday service appointment in the
                optimization request. Schedule the multiday work manually and then pin it. </li>

              <li>Schedule the multiday work manually and then pin it.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Canceled_SAs_Are_Not_Allowed_In_A_MST_Chain</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can't schedule a complex work chain [SA ID1, SA ID2, SA ID3,...] that includes
            canceled service appointments. Remove the dependency from service appointment [SA ID]
            and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>A complex work chain must be scheduled in its entirety to maintain all service
              appointments together according to their dependencies. Partial scheduling of the
              complex work chain isn’t supported. The complex work chain is scheduled as a whole,
              or not at all.</p>
            <p>When a service appointment is canceled, it can’t be assigned to a service resource
              to ensure the resource's availability for other valid appointments. If any service
              appointment within the complex work chain can’t be scheduled, such as when it's
              canceled, the entire chain can’t be scheduled.</p>
            <p>To fix this:</p>
            <ul>
              <li>Remove the canceled service appointment from the complex work chain by ensuring
                it has no dependencies on other service appointments, and that other appointments
                in the chain aren’t dependent on it.</li>

              <li>If necessary, update the status of the canceled service appointment based on the
                configured appointment status flow.</li>

            </ul>
            <p style="margin-bottom:0;">The service appointments within the complex work chain can still be manually
              scheduled and pinned. If you manually schedule these appointments, the appointments
              are flagged as rule-violating and removed by the scheduling and optimization
              processes, unless they’re pinned or included in the Keep Scheduled criteria.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Cannot_check_rule_validations_for_unscheduled_appointments</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can’t check rule validations for service appointments that aren’t scheduled: [SA
            ID1, SA ID2, ...]. Fix the issue and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Unscheduled service appointments aren’t subject to scheduling rules compliance.</p>
            <p style="margin-bottom:0;">To fix this, schedule the service appointments and then check rules, or avoid
              checking rules at this time. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Cannot_found_the_invoked_Service_Appointment</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find the invoked service appointment [invoked SA Id]. Fix the issue
            and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">To fix this, verify the validity of the service appointment. If the problem
              persists, contact Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Cannot_Query_TimeZone_For_OH</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't query the time zone information for Operating Hours [OHID] because
            you don't have the required permissions. Ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>You don’t have permission to access the operating hour’s time zone.</p>
            <p style="margin-bottom:0;">To fix this, ask your Salesforce admin to grant you access to query operating
              hours.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Conflicting_Working_Territories</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">There are conflicting Working Territories work rules in your [Policy Name]
            scheduling policy. Review and update the scheduling policy and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The scheduling policy has conflicting Working Territories work rules. This conflict
              can be due to: </p>
            <ul>
              <li>How the fields in the Working Territories work rules are defined.</li>

              <li>Overlapping criteria that the Working Territories work rules apply to.</li>

            </ul>
            <p style="margin-bottom:0;">To fix this, review the Working Territories rules in the scheduling policy and
              update the rule definitions accordingly.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Cycles_Are_Not_Allowed_In_A_MST_Chain</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the [requestType] request because you can't have circular
            dependencies between service appointments that are part of a complex work chain. Fix
            the dependencies and try again: [taskIDs]</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Complex work chains can’t have circular dependencies within the chain such that the
              service appointment dependencies in the chain create a loop. For example, you can’t
              have service appointment SA1 with the Same Start dependency on service appointment
              SA2, while at the same time service appointment SA2 has a Start After Finish
              dependency with service appointment SA1. Or, service appointment SA1 has a Start
              After Finish dependency on service appointment SA2, while service appointment SA2
              has a Start After Finish dependency on service appointment SA1.</p>
            <p style="margin-bottom:0;">To fix this, remove invalid dependencies from service appointments in the complex
              work chain.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Enhanced_Match_No_Linking_Object</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the [ReqType] request because the Extended Match work rule
            [ruleID] isn't configured correctly. Add the Linking Object and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The Extended Match work rule functionality is based on linking two objects via a
              junction object. See <a href="https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_extended_match.htm&amp;release=264.0.0&amp;type=5" title="Use the Extended Match database work rule type to schedule service appointments using custom criteria. It uses a junction, or linking, object to match a field on the Service Appointment object to a related list on the Service Resource object.">Work Rule Type: Extended Match</a>.</p>
            <p style="margin-bottom:0;">To fix this, open the work rule settings for the Extended Match work rule
              identified in the error. Make sure that the Linking Object and Linking Object
              Reference fields are set with the correct values.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">External_Identifier_is_missing</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find an external identifier in the optimization request. Add an
            external identifier. Or, ask your Salesforce admin for help and provide the
            transaction ID: [txID]</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>An external reference ID is the transaction ID that is used internally.</p>
            <p style="margin-bottom:0;">To fix this, review your customizations and check that each API call for
              optimization request has the external identifier set. Refresh and try again, or
              contact your Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Infeasible_SA_Partially_Overlaps_With_Out_Of_Domain_Complex_Work_SA</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the request because service appointment [service Id]
            [starts/ends] outside of the horizon and partially overlaps with a service appointment
            that has dependencies and is outside of the horizon. Fix the issue and try
            again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The service appointment overlaps with another service appointment that’s part of a
              complex work chain. </p>
            <p>To fix this:</p>
            <ul>
              <li>Identify where the service appointment overlaps with a service appointment
                that’s part of a complex work chain, and reschedule the service appointment
                manually so that it doesn’t overlap with it. We recommend scheduling the service
                appointment to a non-rule-violating position.</li>

              <li>Unschedule the service appointment and then reschedule it using a scheduling
                operation.</li>

              <li>Unschedule the whole complex work chain and reschedule it.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">INVALID_FIELD</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't optimize the schedule because the platform integration user is
            missing the required permissions. Ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The platform integration user (PIU) doesn’t have the required access
              permission.</p>
            <p style="margin-bottom:0;">To fix this, make sure that the PIU has the required access permissions. Or, ask
              your Salesforce admin for help. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Json_Exceeds_Heap_Size_Limit</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t schedule or optimize the service appointments because you reached the
            data loading limit. Reduce the number of service resources or service appointments in
            your request. Or, ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Data loading is limited to 5000 service appointments or 6000 objects per request.
              The request has exceeded this limit.</p>
            <p>To fix this, reduce the number of objects sent in one of these ways:</p>
            <ul>
              <li>Reduce the defined horizon.</li>

              <li>Reduce the number of service territories sent in the request.</li>

              <li>Apply criteria to the service appointments that you want to optimize in the
                request.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">KeepApptScheduledFieldInvalidField</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">&lt;Field name&gt; doesn’t exist or isn’t a boolean field. Enter a valid service
            appointment boolean field name.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The Keep Scheduled functionality is based on a boolean field criteria. See <a href="https://help.salesforce.com/s/articleView?id=service.pfs_set_up_jobs_enhanced.htm&amp;release=264.0.0&amp;type=5" title="Optimize your team’s Field Service schedule for one or more service territories across a specified range of days. You can configure the optimization to run automatically, for example, every night or several times a day, or run it as needed.">Manage Scheduled Jobs in Field Service</a>. The selected field name
              doesn't exist or isn't a boolean.</p>
            <p style="margin-bottom:0;">To fix this, open the scheduling service setting and make sure the field selected
              for keeping appointments scheduled is valid, spelled correctly, and boolean. Save
              your setting changes and try again.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Missing_Default_Scheduling_Policy</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the [requestType] request because there’s no default
            scheduling policy set for the Dispatcher Console UI in Field Service Settings. Ask
            your Salesforce admin to define the default scheduling policy and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Every scheduling action requires a scheduling policy. Scheduling actions
              triggered for the Classic Dispatch Console can’t be performed without a default scheduling
              policy defined for the dispatcher console UI.</p>
            <p style="margin-bottom:0;">To fix this, ask your Salesforce admin
              to define the default scheduling policy. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Missing_Gap_Rule_For_STMS</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find the Resource Availability work rule in the [Policy Name]
            scheduling policy for service territory member [stmId]. Add the work rule and try
            again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Every scheduling and optimization operation requires a scheduling policy that
              defines the scheduling rules and objectives. Every scheduling policy must include a
              Resource Availability work rule to define the resource’s working hours and
              breaks.</p>
            <p>To fix this:</p>
            <ul>
              <li>Open the scheduling policy indicated in the error message, and make sure a
                Resource Availability work rule is included. If you already have a relevant
                Resource Availability work rule, you can select it, or you can create a Resource
                Availability work rule and add it to the scheduling policy. </li>

              <li>Make sure that the Resource Availability work rule criteria include the relevant
                service resources for this policy.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Missing_object_permissions</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't [action type] the Service Appointment because you don't have
            permissions for the Service Appointment object. Ask your Salesforce admin for
            help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>You don’t have the relevant permissions to perform the action on the specified
              object.</p>
            <p style="margin-bottom:0;">To fix this, ask your Salesforce admin to assign the relevant permission to the
              specified object type for users triggering the optimization services on those
              objects. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Missing_Schedule_Result</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't schedule service appointment [SA ID] because something went wrong in
            the scheduling process resulting in an empty schedule. Contact your Salesforce admin
            for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The system returned an empty optimization result.</p>
            <p style="margin-bottom:0;">To fix this, refresh and try again, or contact your Salesforce support to open a
              case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Missing_Scheduling_Policy</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the {request type} request because scheduling policy
            [scheduling policy ID] doesn’t exist. Make sure that the provided policy ID is valid,
            or set a default policy in the Dispatcher Console UI in Field Service
            Settings.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Every scheduling action requires a scheduling policy. The scheduling policy sent as
              part of the scheduling operation couldn't be found. This can happen if the
              scheduling policy is deleted. Scheduling actions triggered for the Classic Dispatch Console can’t be performed without a default scheduling policy defined for the
              dispatcher console UI.</p>
            <p style="margin-bottom:0;">To fix this, ask your Salesforce admin to define the default scheduling policy.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">MST_Chain_Must_Contains_No_More_Than_X_Tasks</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the [requestType] request because service appointment
            [taskId] is part of a complex work chain that includes more than [X- parameter]
            service appointments. Drag the service appointment to schedule it.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>A complex work chain can have a maximum of 5 service appointments in the chain,
              otherwise it can’t be scheduled. </p>
            <p>To fix this:</p>
            <ul>
              <li>Schedule the long complex work chain manually and then pin it. </li>

              <li>Split the long complex work chain into 2 shorter complex work chains.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">NoCandidates</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't get candidates for the service appointment because there aren't any
            service resources that match the requirements. Fix the issue and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>To find candidates, you need a service resource that’s located in the area, has the
              relevant skills and availability, and complies with any relevant work rules set. </p>
            <p>To fix this:</p>
            <ul>
              <li>Make sure you have service resources in the area with the relevant service
                territory assigned as primary or secondary during the appointment’s time
                frame.</li>

              <li>Make sure there are service resources that comply with all the set work
                rules.</li>

              <li>Make sure you have service resources with relevant availability during the
                appointment window time.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">No_Operating_Hours_specified_in_request</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find operating hours in the [request Type] request. Add operating
            hours and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Scheduling and optimization services require operating hours data.</p>
            <p style="margin-bottom:0;">To fix this, check that all service resources have operating hours.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">No_Primary_Or_Relocation_STMs</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the [request type] request because service resource [resource
            ID] doesn't have primary or relocation service territory memberships between
            [StartDate] and [EndDate]. Define the service territory memberships for this time
            period and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Service resources must have a primary service territory or a relocation service
              territory assigned to them whenever work is scheduled. </p>
            <p style="margin-bottom:0;">To fix this, make sure that the service resource has an assigned primary service
              territory or relocation service territory within the specified date range. We
              recommend that you check that the service resource always has primary or relocation
              service territory membership</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">No_Timeslots_in_AB_Operating_Hours</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't find any time slots for service appointment [SA ID] within the
            default operating hours [OH ID]. Define the time slots and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>This error indicates that there’s no overlap between when the relevant service
              resources are available to handle this service appointment, and when the service
              appointment can be scheduled in terms of available time slots. </p>
            <p>To fix this, make sure that there’s an overlap between the service resource
              availability and when the service appointment can be scheduled. </p>
            <ul>
              <li>Review the operating hours for the relevant service resource candidates
                (candidates with matching skills and service territory memberships). </li>

              <li>Make sure the time slots overlap (coincide) with the relevant service resources’
                operating hours. If there’s no overlap, update the operating hours accordingly. </li>

              <li>Update the relevant service resources’ operating hours to overlap with the time
                slots.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 "> Not_Valid_C2C_Token </td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the [request type] request because there isn't a valid C2C
            token. Ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">To fix this, refresh and try again. Or, ask your Salesforce admin for help.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">O2_Is_Not_Enabled_Error_Message</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the [Request type] request because Enhanced Scheduling and
            Optimization isn't enabled. Ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Enhanced Scheduling and Optimization isn’t enabled.</p>
            <p style="margin-bottom:0;">To fix this, see <a href="https://help.salesforce.com/articleView?id=service.pfs_enhanced_setup_enable.htm&amp;type=5&amp;language=en_US" target="_blank">Enable Enhanced Scheduling and
                Optimization</a>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">O2_Rest_Utils_C2C_Error_Finish</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Contact your Salesforce admin and provide them with this error: &lt;error
            message&gt;</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>An internal error occurred.</p>
            <p style="margin-bottom:0;">To fix this, we recommend that you try to trigger the action again or contact your
              Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">O2_Rest_Utils_C2C_Error_Title</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Looks like there’s a problem accessing the optimization service. </td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>An internal error occurred.</p>
            <p style="margin-bottom:0;">To fix this, we recommend that you try to trigger the action again or contact your
              Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">O2_Rest_Utils_Callout_Error_Title</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Schedule optimization incomplete.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>An internal error occurred.</p>
            <p style="margin-bottom:0;">To fix this, we recommend that you try to trigger the action again or contact your
              Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">O2_Rest_Utils_Error_Operation_Called_Twice</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can’t call the same service more than once in the same transaction. Service type:
            [requestType]. Include this service type only once and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>To avoid concurrency issues, you can’t trigger the same service on the same data
              more than once at any time</p>
            <p style="margin-bottom:0;">To fix this, make sure only one transaction is triggered at a time. To identify who
              triggered an operation, ask your Salesforce admin to look at the <a href="https://help.salesforce.com/articleView?id=service.pfs_activity_reports.htm&amp;type=5&amp;language=en_US" target="_blank">Activity Report</a>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Optimization_Request_Limit_Services</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't optimize the schedule because you reached the limit of service
            appointments per optimization request (request ID). Reduce the number of service
            appointments and try again, or ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The optimization request exceeded the 5000 service appointment limit.</p>
            <p>To fix this:</p>
            <ul>
              <li>Reduce the number of service territories in the optimization request.</li>

              <li>Reduce the optimization request horizon, or, if your whole dataset must be
                optimized, split the request into 2 optimization requests. </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Optimization_Request_Limit_Territories</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't optimize the schedule because you reached the limit of service
            territories per optimization request (request ID). Reduce the number of territories
            and try again, or ask your Salesforce admin for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The maximum number of service territories optimized in a request is 100. The
              optimization request exceeded this limit.</p>
            <p>To fix this, reduce the number of service territories in the optimization request.
              Or, if your whole dataset needs to be optimized, split the request into 2
              optimization requests.</p>
            <p style="margin-bottom:0;">We recommended that you review <a href="https://help.salesforce.com/articleView?id=service.pfs_set_up_jobs_enhanced.htm&amp;type=5&amp;language=en_US" target="_blank">Manage Scheduled Jobs When
                Using Enhanced Scheduling and Optimization</a> to learn more.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Overlapping_Absences_Error_Details</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can’t have overlapping breaks in your optimization horizon. Remove the overlaps
            for resource [Resource ID] during [Date range], and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Breaks can’t overlap.</p>
            <p style="margin-bottom:0;">To fix this, review the service resource’s breaks within the horizon and identify
              the ones that overlap. Change the breaks so that they don’t overlap.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Overlapping_Shifts_Exception_Details</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't optimize the schedule because the travel time from the shift that
            ends at [firstShiftEnd] overlaps with the next shift that starts at [secondShiftStart]
            for service resource [invalidResourceId]. Shift times include the travel time to and
            from home at the expense of the service resource. Fix the issue and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>A shift (including the job and travel time, or resource absence) can’t overlap with
              the next shift's job or travel time, or resource absence.</p>
            <p>To fix this: </p>
            <ul>
              <li>Make sure that the addresses on the shifts and the home base are well defined
                without typos or mistakes.</li>

              <li>Make sure that the addresses on the shifts and the homebase were geocoded
                properly and are valid coordinates (latitude and longitude).</li>

              <li>Change the location of the shift to be closer to the service resource’s home
                base.</li>

              <li>Relocate the service resource to a location closer to the shift location.</li>

              <li>Change the service resource’s home base if relevant. </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Overtime_Not_At_End_Of_Day_Error_Details</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can’t have extended time slots that aren't at the end of the working day. Fix the
            time slots for resource [Resource ID] on [Date], and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The system supports overtime hours only at the end of the service resource’s
              working hours.</p>
            <p style="margin-bottom:0;">To fix this, update the overtime hours to be at the end of the shift during the
              optimized horizon.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Part_Of_Mst_Chain_Is_Infeasible</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't schedule the complex work chain because service resource [ResID] has
            appointments scheduled on [DateTimeID] that are pinned and outside of the resource's
            working hours: [SA ID1, SA ID2,...]. Fix the issue and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The system can’t move Pinned service appointments. </p>
            <p>A service appointment can be pinned in 2 ways:</p>
            <ul>
              <li>Each service appointment has a Pinned field. If this field is selected, the
                specific service appointment can’t be updated during optimization and it stays in
                its place. </li>

              <li>Implementers can define specific statuses as pinned statuses. All service
                appointments in these pinned statuses are treated as pinned and can’t be
                moved.</li>

            </ul>
            <p>To fix this:</p>
            <ul>
              <li>Review the resource specified on the date indicated and identify the service
                appointment that is a part of the complex work chain and pinned outside of working
                hours.</li>

              <li>Unpin the service appointment and move it manually to be within working hours
                (you can then pin it again). </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Pinned_And_Overlapping_Task_In_MST_Chain</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't schedule service appointment [invoked SA ID] because it's part of a
            complex work chain that includes a pinned and overlapping service appointment: [pinned
            and overlapping SAIDs]. Unpin the appointment or fix the overlap, and try again. </td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>When you reschedule a service appointment that’s part of a complex work chain, the
              whole chain is affected due to dependencies between the chained service
              appointments. The service appointment can’t be scheduled because it’s part of a
              complex work chain that includes a pinned service appointment that overlaps with
              another service appointment, travel time, or resource absence.</p>
            <p>To fix this:</p>
            <ul>
              <li>Unpin the pinned service appointment.</li>

              <li>Manually schedule the service appointment. </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Recurring_SA_Frequency_Outside_The_Range</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t schedule recurring service appointments because the frequency is set
            to [Frequency Value], which is outside of the [lower range limit] - [upper range
            limit]) range required for the [Frequency Type: Weekly/Monthly/Yearly] frequency. Set
            the frequency correctly and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Recurring visits are a sequence of visits with the same features that require a
              repeating shift pattern. To ensure scheduling as expected, the frequency of the
              recurrence pattern must correlate with the frequency range for the frequency type
              (Weekly, Monthly, or Yearly). The request includes a frequency and a range that
              don’t match.</p>
            <p style="margin-bottom:0;">To fix this, update the frequency to match the range required for the frequency
              type. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Recurring_SA_Not_Weekly_Frequency</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t schedule recurring service appointments because only the weekly
            frequency is supported in the recurrence pattern definition. Set the recurrence to
            Weekly and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Recurring visits are a sequence of visits with the same features that require a
              repeating shift pattern. The defined recurrence pattern definition supports a weekly
              frequency. The request includes a frequency that isn’t weekly.</p>
            <p style="margin-bottom:0;">To fix this, change the recurrence frequency to Weekly.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Recurring_SA_Number_Of_Days_Is_Smaller</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t schedule recurring service appointments because the number of planned
            visits is set to [Num_Visits value], which is lower than the required weekly frequency
            [frequency value]. Set the values correctly and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Recurring visits are a sequence of visits with the same features that require a
              repeating shift pattern. To ensure scheduling as expected, the frequency of the
              recurrence pattern must correlate with the number of visits (days). The number of
              days is less than the required frequency selected such that the frequency and the
              number of days in the request don’t match. </p>
            <p>To fix this:</p>
            <ul>
              <li>Update the number of visits to match the frequency.</li>

              <li>Update the frequency to match the number of visits. </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Recurring_SA_Visit_Number_Less_Then_2</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t schedule recurring service appointments because the number of visits
            in the recurrence pattern is set to [Number={0,1}], which is used for non-recurring
            visits. Set the value to a number greater than 2 and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Recurring visits are a sequence of visits with the same features that require a
              repeating shift pattern. When the number of visits in the recurrence pattern is set
              below 2, the service appointments are considered standard non-recurring visits and
              there’s no recurrence pattern. </p>
            <p>To fix this:</p>
            <ul>
              <li>Update the number of visits to 2 or more. </li>

              <li>If this request is for a single visit, use the standard scheduling method for
                non-recurring visits (standard service appointments).</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">RequestTimedOut</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Your [Request type] request has timed out. Ask your Salesforce admin for help and
            provide the transaction ID: [txID]</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Some request types have a timeout defined in the system. </p>
            <p style="margin-bottom:0;">To investigate the timeout reason, contact your Salesforce admin and provide the
              transaction ID. Or, try to trigger the action again to be sure the error wasn’t a
              result of a momentary extreme load. </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Resource_based_request_domain_limit_exceeded</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't reschedule the service appointment to the selected date because you
            reached the data loading limit. To schedule the appointment to a significantly later
            date, first unschedule the appointment and then schedule it to the required
            date.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>When rescheduling a service appointment, the current and new schedule horizons are
              considered. The combination of these horizons can create a request with a data
              horizon that exceeds the allowed limit.</p>
            <p style="margin-bottom:0;">To fix this, unschedule the service appointment and then reschedule it to the
              relevant date. This reduces the data loading of the original schedule.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">RFC_NoAccess</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t perform the request because you don't have access to the selected
            criteria field in recordset filter criteria rule [rule ID]. Ask your Salesforce admin
            for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Recordset filter criteria is used for designated work. You don’t have access
              permissions to the required recordset filter criteria field. </p>
            <p style="margin-bottom:0;">To fix this, provide access to the criteria field specified in the recordset filter
              criteria rules. Or, ask your Salesforce admin for help.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 "> Secondary_Bad_Config_No_Primary_Resource </td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find a primary or relocation service territory membership for service
            resource [resource ID]. This resource has one or more secondary service territory
            memberships. Define the missing service territory membership and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Service resources must have an assigned primary or relocation service territory if
              they have an assigned secondary service territory.</p>
            <p style="margin-bottom:0;">To fix this, assign a primary or relocation service territory to the resource.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Secondary_Bad_Stm_No_Start_Resource</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find a start date for one or more service territories that service
            resource [resource ID] is a member of. For example, service territory [Territory ID].
            Add a start date and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>Each service resource allocated to a service territory must be assigned with the
              start date of allocation for this territory. If not, the system can’t identify when
              it can allocate jobs for the service resource in this territory.</p>
            <p>To fix this:</p>
            <ul>
              <li>Review the specified resource territory allocations for primary, secondary, and
                relocation territories.</li>

              <li>Make sure every allocation has a start date.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Service_Based_Bad_Request</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find details for service appointment [SA ID] in the [request Type]
            request type. Add the details and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">To fix this, verify the validity of the service appointment. If the problem
              persists, contact Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Service_Based_Bad_Request_Api</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn’t find the ServiceID parameter in the input of the [request Type]
            request. Add the parameter and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">We recommend that you try to trigger the action again. If the problem persists,
              contact Salesforce support to open a case.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Service_Territory_Members_With_Different_TZ_For_Resource</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't schedule one or more appointments because at least one of the service
            resources has multiple time zones. Adjust the service territory membership for service
            resource [Resource ID], and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">Review the service resource’s primary, secondary, and relocation service territory
              memberships, and make sure that at any given time, all territories that the service
              resource is assigned to are within the same time zone.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Service_Territory_object_has_insufficient_privileges</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">You don’t have access to the Service Territory object. Ask your Salesforce admin
            for help.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">To fix this, assign the relevant access permission to the service territories for
              users triggering the optimization services on those territories.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Trigger_Mixed_Optimizer_Per_Service_Error</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the request because the service appointments' territories
            aren't all using the same optimization engine. The service territories of appointment
            [SAID1] are using Enhanced Scheduling and Optimization, but the service territories of
            appointment [SAID2] aren't using Enhanced Scheduling and Optimization. Enable Enhanced
            Scheduling and Optimization for all service territories in Field Service Settings, or
            update the service territories individually, and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>When enabling Enhanced Scheduling and Optimization by territory, all service
              appointments in a request must be allocated to territories that are all handled by
              the same optimization engine. </p>
            <p>To fix this:</p>
            <ul>
              <li>Make sure that all service appointment territories in the request are using the
                same engine.</li>

              <li>Revise the group of service territories that are optimized together to avoid
                using different engines.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Trigger_Mixed_Optimizer_Per_Service_Territory_Error</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the request because the service appointment's territories
            aren't all using the same optimization engine. These service territories are using
            Enhanced Scheduling and Optimization: [ESO territoryID1, ESO territoryID2]. These
            service territories aren't using Enhanced Scheduling and Optimization: [territoryID1,
            territoryID2]. Update the service territories and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The service appointment's territories must all use the same optimization
              engine.</p>
            <p>To fix this:</p>
            <ul>
              <li>Review what engine the service territories are using (if enabled for Enhanced
                Scheduling and Optimization or not) and then use separate optimization requests
                for the territories accordingly.</li>

              <li>Use the same optimization engine for all of the service territories. </li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Trigger_Mixed_Optimizer_Per_STM_Error</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">We couldn't perform the request because the service resource is a member of
            territories that aren't all using the same optimization engine. Update the service
            territories and try again.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>When enabling Enhanced Scheduling and Optimization by territory, all service
              resources must be allocated to territories that are all handled by the same
              optimization engine. </p>
            <p style="margin-bottom:0;">To fix this, make sure that every service resource’s primary, secondary, and
              relocation territories are using the same optimization engine.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Trigger_Service_Pinned_Or_Pinned_Status_Error</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">Can't reschedule pinned appointments [SA ID1, SA ID2,...]. To reschedule a pinned
            appointment, unpin it or select a status that isn't pinned.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p>The system can’t move Pinned service appointments. </p>
            <p>A service appointment can be pinned in 2 ways: </p>
            <ul>
              <li>Each service appointment has a boolean out-of-the-box Pinned field. If this
                field is selected, the specific service appointment can’t be updated during
                optimization and it stays in its place.</li>

              <li>Implementers can define specific statuses as pinned statuses. All service
                appointments in these pinned statuses are treated as pinned and can’t be
                moved.</li>

            </ul>
            <p>To fix this, review the service appointments listed in the error message:</p>
            <ul>
              <li>For every service appointment, validate whether its Pinned field is selected
                (deselect to unpin). </li>

              <li>For every service appointment that has the Pinned field deselected, review its
                status. If the appointment’s status is part of the pinned statuses setting,
                transition to a different status.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Error Label" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e109 ">Unsupported_Request_Type_for_this_flow</td>

          <td data-label="Error Message" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e112 ">The [request Type] request type isn’t supported. Use global optimization,
            resource schedule optimization, or in-day optimization instead.</td>

          <td data-label="Potential Resolution" class="slds-cell-wrap" style="vertical-align:top;" headers="d120972e115 ">
            <p style="margin-bottom:0;">To fix this, review the request to check if you have any customizations calling
              this request through the API, and validate that the request type is global
              optimization, resource schedule optimization, or in-day optimization.</p>
          </td>

        </tr>
      </tbody>
    </table>