Open main menu

Contents

Draft

Currently taking notes

AOTG Error

1. {"Message": "The requested resource does not support http method 'DELETE'."}

Solution:
Make sure SOTC_AUTH (AccessToken) is added to the header. 

2. "ResultJson": "{\"Message\":\"Your current database version 1.0.9.77 is later than the database version supported by this AOTGClient (Version: 1.0.9.76), please acquire and install latest AOTGClient.\",\"StackTrace\":\"\",\"Source\":\"PSW.SOTC.Accounting.InProcess\"}"

 {
   "RequestId": "xxe5-d76-430-88d-5c2x4d3a28",
   "RequestName": "GetDebtorList",
   "HostName": "---",
   "IPAddress": "---",
   "RequestTypeName": null,
   "ResultJson": "{\"Message\":\"Your current database version 1.0.9.77 is later than the database version supported by this AOTGClient (Version: 1.0.9.76), please acquire and install latest AOTGClient.\",\"StackTrace\":\"\",\"Source\":\"PSW.SOTC.Accounting.InProcess\"}",
   "RequestParamJson": null,
   "ResultStream": null,
   "ResultTypeName": "PSW.SOTC.Accounting.Provider.Models.ExceptionEntity",
   "Status": "Failed",
   "Version": "1.2.19015.11001",
   "AccountBookInfo": "Plug-In 1.9 Test-1.0.9.76",
   "AccountBookDBInfo": "1.0.9.76",
   "Timestamp": "2019-02-28T01:19:53.3615122Z",
   "ResultedTimestamp": null,
   "ProcessingInterval": 0.0730796,
   "InQueueInterval": null,
   "ResultFileURL": null
}
Solutions:
Update AOTG Client


3. Service Unavailable: Get result status (d50b5d0a-9cce-4a55-bfdd-40bf0f93063f) failed with exception - The given key was not present in the dictionary.

After delete a debtor, call Get Result, it returns "503 Service Unavailable"

Solution:
Make sure SOTC_AUTH (AccessToken) is added to the header. 


4. 401 Unauthorized
(Header)
Cache-Control →no-cache Pragma →no-cache Expires →-1 Server →Microsoft-IIS/10.0 Message →Invalid Session X-AspNet-Version →4.0.30319 X-Powered-By →ASP.NET Date →Fri, 01 Mar 2019 06:12:30 GMT Content-Length →0

Solution: Make sure AccessToken is valid.

5. 404 Not Found
Occur when get RESULT (Header)
Cache-Control →no-cache Pragma →no-cache Expires →-1 Server →Microsoft-IIS/10.0 X-AspNet-Version →4.0.30319 X-Powered-By →ASP.NET Date →Fri, 01 Mar 2019 06:18:31 GMT Content-Length →0

Solution: ?

Stock

Create Stock Item

1. Missing Detail UOM for this new Item.

Solution: make sure the RowState is assigned with correct value.
Create Stock Item



See Also AOTG API

Go to menu