i am making some updates to our API, when attempting to retrieve slots for a particular provider, i receive the following error:
Hl7.Fhir.Rest.FhirOperationException : Operation was unsuccessful because of a client error (BadRequest). OperationOutcome: Overall result: FAILURE (1 errors and 0 warnings)[ERROR] (no details)(further diagnostics: Endpoint returned a body with contentType 'text/plain', while a valid FHIR xml/json body type was expected. Is this a FHIR endpoint?).at Hl7.Fhir.Rest.TaskExtensions.WaitResult[T](Task`1 task)at Hl7.Fhir.Rest.FhirClient.Search[TResource](String criteria,String includes,Nullable`1 pageSize,Nullable`1 summary,String revIncludes)at DogwoodFunctionApp.Models.PractitionerPersistence.GetFHIRSchedulesThread(Int64 practitionerID,Int64 locationID,String slotsFilter,String dateFrom,String dateTo,Guid threadID,String fhirToken,String cernerID,Int32 segment,String dogwoodConString)
not sure what the cause is for this issue. we haven't been pulling specific providers and i am now looking to retrieve for one in particular, and this error has started coming up since making that update.