Legacy Dev Forum Posts

 View Only

Sign Up

ApiException: Error converting value "0000-12-28T06:00:00Z"

  • 1.  ApiException: Error converting value "0000-12-28T06:00:00Z"

    Posted 06-05-2025 18:05

    Ryan_Keown | 2017-09-06 00:23:55 UTC | #1

    I'm getting the following exception from the Analytics API when requesting the conversation details. I'm using version 16.0.0 of the .NET NuGet package. This is preventing me from importing the page of conversations for our internal reporting when it happens.

    Error converting value "0000-12-28T06:00:00Z" to type 'System.Nullable`1[System.DateTime]'. Path 'conversations[0].participants[0].sessions[0].callbackScheduledTime', line 1, position 505.

    [PureCloudPlatform.Client.V2.Client.ApiException: Error converting value "0000-12-28T06:00:00Z" to type 'System.Nullable`1[System.DateTime]'. Path 'conversations[0].participants[0].sessions[0].callbackScheduledTime', line 1, position 505.] at PureCloudPlatform.Client.V2.Client.ApiClient.Deserialize(IRestResponse response, Type type) at PureCloudPlatform.Client.V2.Api.AnalyticsApi.PostAnalyticsConversationsDetailsQueryWithHttpInfo(ConversationQuery body)


    tim.smith | 2017-09-06 13:27:47 UTC | #2

    This needs to go to PureCloud Support because a back end system (Analytics) is returning invalid data. When you open the ticket, be sure to provide the conversation ID of the conversation that's returning the invalid date. You can easily get the raw data set using the Developer Tools. If you get any pushback from support have the engineer reach out to me.


    system | 2017-10-07 13:27:56 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 1763