Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

JSON parsing issues on using SDK provided Notification Event Model Objects [UserStartDetailEventTopicUserStartEvent,UserEndDetailEventTopicUserEndEvent]

  • 1.  JSON parsing issues on using SDK provided Notification Event Model Objects [UserStartDetailEventTopicUserStartEvent,UserEndDetailEventTopicUserEndEvent]

    Posted 05-07-2025 05:58

    Facing issues when trying to use SDK provided model objects for listening to Notification events.

    Error,

    com.fasterxml.jackson.databind.JsonMappingException: Numeric value (1746611551473) out of range of int (-2147483648 - 2147483647)
     at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 144] (through reference chain: com.mypurecloud.sdk.v2.extensions.notifications.NotificationEvent["eventBody"]->com.mypurecloud.sdk.v2.model.UserEndDetailEventTopicUserEndEvent["eventTime"])


    #PlatformAPI
    #PlatformSDK

    ------------------------------
    Ignatious A
    -
    ------------------------------


  • 2.  RE: JSON parsing issues on using SDK provided Notification Event Model Objects [UserStartDetailEventTopicUserStartEvent,UserEndDetailEventTopicUserEndEvent]

    Posted 05-07-2025 06:04

    My bad, I was using a older version of the SDK 😊



    ------------------------------
    Ignatious A
    -
    ------------------------------