TaskList API Exception when invoked using Tasklist client

I’m testing Camunda 8 Tasklist in my local and I’m using simple authentication for creating tasklist client using - GitHub - camunda-community-hub/camunda-tasklist-client-java: Java client for the Tasklist API of Camunda Platform 8.

SimpleAuthentication sa = new SimpleAuthentication(“demo”, “demo”);
CamundaTaskListClient taskListClient = new CamundaTaskListClient.Builder().taskListUrl(“http://localhost:8082”).shouldReturnVariables().authentication(sa).build();

I’m getting below error when I try to hit the tasklist related APIs.
Method threw ‘com.apollographql.apollo3.exception.JsonEncodingException’ exception.
Use JsonReader.setLenient(true) to accept malformed JSON at path

I’m using docker to run the camunda related apps using this docker compose file GitHub - camunda/camunda-platform: Camunda Platform 8

Please help here.

Hi @Naveen_KS

I see that no-one has answered your question here. Did you get it working?

The issue tracker of the client may be a better place to find help for this. There is this issue over there: Json parser error. · Issue #18 · camunda-community-hub/camunda-tasklist-client-java · GitHub.

Josh