Skip to content

GSON error when calling insertOrUpdate or insertOrUpdateBulk #116

@javadeveloper080

Description

@javadeveloper080

GSON error when calling

ErrorMessage:com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 13 path $.results
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:225)

Response for insertOrUpdate

{
    "results": {
        "message": "Suppression list successfully updated"
    }
}
**Response for insertOrUpdateBulk**

{
"results":

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions