taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
270 stars 163 forks source link

JSONObject["time_entry"] not found when using TimeEntryManager.createTimeEntry #371

Open seeker1977 opened 2 years ago

seeker1977 commented 2 years ago

Hi, my program works usually OK when i use my own API key or some of my colleages. But when I use my boss api key, I get this error when trying to use createTimeEntry: com.taskadapter.redmineapi.RedmineFormatException: org.json.JSONException: JSONObject["time_entry"] not found. at com.taskadapter.redmineapi.internal.Transport.parseResponse(Transport.java:612) at com.taskadapter.redmineapi.internal.Transport.addObject(Transport.java:231) at com.taskadapter.redmineapi.TimeEntryManager.createTimeEntry(TimeEntryManager.java:74)

Does anyone know why is this happening and how to fix it? It looks like a user config related issue, but I don't know how to solve it...