About Redmine Java API
Added by Charles Ortiz about 12 years ago
I'm using "JAVA API 1.14" and "Redmine 1.2.1", this is correct? because this code:
RedmineManager RedmineManager redmineManager = new (url, login, password); System.out.println (redmineManager.getUsers ());
causes this error:
Exception in thread" main "com.taskadapter.redmineapi.RedmineAuthenticationException: Authorization error. Please check if you provided a valid API access key or Login and Password and REST API service is enabled on the server. at com.taskadapter.redmineapi.internal.comm.ComposingHandler.processContent (ComposingHandler.java: 25) at com.taskadapter.redmineapi.internal.comm.ComposingHandler.processContent (ComposingHandler.java: 25) at com.taskadapter.redmineapi.internal.comm.BaseCommunicator.sendRequest (BaseCommunicator.java: 89) at com.taskadapter.redmineapi.internal.comm.FmapCommunicator.sendRequest (FmapCommunicator.java: 26) at com.taskadapter.redmineapi.internal.comm.FmapCommunicator.sendRequest (FmapCommunicator.java: 26) at com.taskadapter.redmineapi.internal.comm.BasicSimplifier.sendRequest (BasicSimplifier.java: 24) at com.taskadapter.redmineapi.internal.Transport.getObjectsList (Transport.java: 368) at com.taskadapter.redmineapi.internal.Transport.getObjectsList (Transport.java: 335) at com.taskadapter.redmineapi.RedmineManager.getUsers (RedmineManager.java: 358) at app.Main.main (Main.java: 36)
there is something wrong with this version?