---
schema_version: "1"
id: cbb724cbf9fe3ec0eab074ca2eb69a296fc872a592927d6ba5ad0c3b9ed8be2b
title: Appointment Candidates (GET)
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/scheduler-error-codes/appointmentcandidates-get.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/appointmentcandidates-get.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e8e80c4cdfdfe18046d55acd8a112f4f411798fc94ca7f78e30a35d2798a1b04
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---

# Appointment Candidates (GET)

Contains the error codes and error code messages related with the Salesforce Scheduler API for `getAppointmentSlots` (GET) resource.

This table lists HTTP response code descriptions that are unique to this resource.

|HTTP Response Code|Error Code|Description|
|------------------|----------|-----------|
|400|`MISSING_ARGUMENT`|Specify either a `workTypeGroupId` or `WorkTypeId`.|
|400|`MISSING_ARGUMENT`|Specify a `serviceTerritoryId` with either a `workTypeGroupId` or `WorkTypeId`.|
|400|`INVALID_INPUT`|This isn't a valid `workTypeGroupId` value. Specify a valid ID for the `workTypeGroupId` parameter.|
|400|`INVALID_INPUT`|This isn't a valid `serviceTerritoryId` value. Specify a valid ID for the `territoryId` parameter.|

