diff --git a/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java b/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java index a39ae1ffd..a4b8a1bbc 100644 --- a/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java +++ b/astrid/plugin-src/com/todoroo/astrid/producteev/api/ProducteevInvoker.java @@ -656,6 +656,8 @@ public class ProducteevInvoker { */ private JSONArray getResponse(JSONObject response, String field) throws ApiResponseParseException { try { + if(!response.has(field)) + return new JSONArray(); return response.getJSONArray(field); } catch (JSONException e) { throw new ApiResponseParseException(e);