Skip to content
Bug Barometer
All issues
In Review

Field Service / Scheduling & Optimization

Candidates action fails with “Schedule optimization incomplete. HTTP: 400” when a resource has a multi-day SA that overlaps a Resource Absence.

Reported
Nov 26, 2026
Updated
Nov 26, 2026
Fixed
—
Reports
1
Found in
Winter '27
Reference
W-23968395

Summary

In an edge case, running the Candidates action on a Service Appointment fails with this error: “Schedule optimization incomplete. Contact your Salesforce admin and provide them with this error: HTTP: 400.”


This happens when a resource has a multi-day Service Appointment assigned and also has a Resource Absence (RA) that starts on the second day of that appointment. The Service Appointment must end at or after the RA end time. In this case, candidate evaluation fails for the resource. Other Service Appointments in the territory can also hit the error when you run Candidates on them.

Workaround

Do either of the following, then run Candidates again:

  • Delete the Resource Absence, or change its dates so it doesn’t start on a day within the multi-day Service Appointment (SA-B).
  • Unschedule the multi-day Service Appointment (SA-B) from the resource.”


Steps to reproduce

  1. In a service territory with eligible candidate resources, pick a resource (Resource R).
  2. Create and schedule a multi-day Service Appointment (SA-B) assigned to Resource R.
  3. Create a Resource Absence for Resource R that starts on the second day of SA-B. SA-B must end at or after the RA end time.
  4. Create another Service Appointment (SA-A) in the same territory. [Confirm whether SA-A must be multi-day.]
  5. Run the Candidates action on SA-A.
  6. Expected result: the list of candidate resources is returned.
  7. Actual result: the error “Schedule optimization incomplete. Contact your Salesforce admin and provide them with this error: HTTP: 400.” appears.


Status timeline

  1. Nov 30, 2026

    created · In Review · 1 reports

  2. Nov 30, 2026

    content changed · In Review · 1 reports

Official known-issue pageSuggest a workaround