Legacy Dev Forum Posts

 View Only

Sign Up

Problem to call export method for contact list in Outbound API

  • 1.  Problem to call export method for contact list in Outbound API

    Posted 06-05-2025 18:11

    ruben.berlanga | 2017-05-03 11:09:08 UTC | #1

    Hi,

    I have a problem when I use OutboundApi(), method "postContactlistsContactlistIdExport". When I invoke this operation SDK returns to me next exception:

    om.mypurecloud.sdk.ApiException: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"id":"XXX-XXX","selfUri":"/api/v2/outbound/contactlists/XXX-XXX"}; line: 1, column: 1]

    where XXX-XXX is contact list ID.

    Thanks in advance.

    Regards


    tim.smith | 2017-05-03 16:06:02 UTC | #2

    Per the other thread, you're still using the pre-release version of the SDK. Update to the latest version and I believe this is fixed. If it's not, let me know.

    https://developer.mypurecloud.com/forum/t/java-sdk-stable-release-1-0-0/1204


    system | 2017-08-28 19:34:20 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 1255