This is 7.2.1 SR5.
We have a client that upgraded to SR5 and api stopped working.
So I have tested 2 end points, /debtors/id (using apikey) and /auth (using username/password)
I tried on different clients version (SR0 and SR5) and same database
- both endpoints work on SR0 (or whatever SR last modified is 8/7/2020 3:11pm) client
- both endpoints dont work on SR5 client
- I get 401 when using apikey
- I get below error when using /auth
- Code: Select all
"ErrorCode": "MissingMethodException",
"Message": "Method not found: 'Void JiwaFinancials.Jiwa.JiwaApplication.Manager.LogEvent(System.String, System.Diagnostics.EventLogEntryType, Int32, Int16)'.",
"StackTrace": "[Authenticate: 11/23/2021 5:56:46 AM]:\n[REQUEST: {UserName:admin,Password:xxx}]\nSystem.MissingMethodException: Method not found: 'Void JiwaFinancials.Jiwa.JiwaApplication.Manager.LogEvent(System.String, System.Diagnostics.EventLogEntryType, Int32, Int16)'.\r\n at JiwaFinancials.Jiwa.JiwaServiceModel.JiwaAuthProvider.<>c__DisplayClass3.<<Authenticate>b__0>d__7.MoveNext()\r\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n at JiwaFinancials.Jiwa.JiwaServiceModel.JiwaAuthProvider.<>c__DisplayClass3.<Authenticate>b__0()\r\n at System.Threading.Tasks.Task`1.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()",
"Errors": []
However, I cannot reproduce this error on a demo database.
Please let me know if this should be raised with your helpdesk?