LiquidPlanner Classic Forum

Ask a Question
Back to All

Error 500 when creating a task using provided Java API code


Posted on behalf of Stephen Bayne. Original post date 2013-07-03


I'm getting the following IOException in Java when calling the createTask() method from the provided API examples using GSON 2.2.0: Server returned HTTP response code: 500 for URL:
IO error

Also, the more recent versions of Google's GSON do not work with the supplied Java files at all, saying that it cannot cast to HashMap on line 46 in

list.add((HashMap) gson.fromJson(element, returnType.getType()));

Could someone please shed some light on this?