Skip to content

Exception when using sync api of java cdaClient  #312

@saurabh782

Description

@saurabh782

Hi Team,
I am getting the following error while using the sync api through the contentful java sdk.I am using the cda client.
This is the following error that I am getting:
Cannot invoke "com.contentful.java.cda.rich.CDARichDocument.getContent()" because "document" is null

My only line of code is :
cdaClient.sync().fetch()

Library version: com.contentful.java:java-sdk:10.5.18

Pls help out here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions