ApiResponse<Instance> res = InstancesApi.getInstanceWithHttpInfo(worldId, instanceIdWork);
java.lang.IllegalArgumentException: Expected the field displayName to be a primitive type in the JSON string but got null
Error in:
Insatce.java
if (!jsonObj.get("displayName").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the fielddisplayNameto be a primitive type in the JSON string but got%s", jsonObj.get("displayName").toString())); }