Appointment Slots (GET)

Contains the error codes and error code messages related with Salesforce Scheduler API for the getAppointmentSlots (GET) resource.

This table lists HTTP response code descriptions that are unique to this resource.

HTTP Response CodeError CodeDescription
400BAD_REQUESTSpecify either a workTypeGroupId or a workTypeId and try again.
400BAD_REQUESTThis isn’t a valid durationInMinutes value. Specify a valid duration in minutes for the durationInMinutes parameter.
400BAD_REQUESTAppointmentTopicTimeSlot is not accessible for the current user.
400BAD_REQUESTLooks like you don’t have access to {WorkTypeGroup} or {WorkType} object. Your Salesforce admin can help with that.
400BAD_REQUESTLooks like you don’t have access to {ServiceTerritory} object. Your Salesforce admin can help with that.
400BAD_REQUESTLooks like you don’t have access to {ServiceResource} object. Your Salesforce admin can help with that.
400BAD_REQUESTRemove the primaryResourceId from the requiredResourceIds list and try again.
400BAD_REQUESTProvide a valid primaryResourceId and try again.
400BAD_REQUESTThe maximum number of required service resources is 5. Reduce the number of service resources in your request and try again.
400BAD_REQUESTProvide a resource ID in the requiredResourceIds field, and try again.
400BAD_REQUESTSpecify a valid workType and try again.
400BAD_REQUESTProvide an end time that’s after the start time, and try again.
400BAD_REQUESTThis isn’t a valid startTime or endTime value. Specify a valid date and time for the startTime or endTime parameter.
400BAD_REQUESTThere is no active workTypeGroup.