While waiting for a response from MYOB I thought i would post what actions I have done to try and get around this issue.
I uninstalled AR2020.3.1 SE API and reinstalled it. Then ran the PointOfSale program, PBSAPOS again and attempted an export. ==> Same error.
I then uninstalled AR2020.3.1 SE totally and then restarted the server. (MS Server Essentials 2016). This server only runs MYOB. I installed AR2020.3.1 SE and also the API connector and again attempted an export. ==> Same error.
I uninstalled the API and installed the 2020.2 API and again attempted an export. ==> Got further this time but got the error that the company file was the wrong version. This is correct as our compay file has already been upgraded to 2020.3.1.
I uninstalled all AR, rebooted the server, re-installed AR2020.3.1 SE and rebooted the server and again attempted an export. ==> Same error.
Obviously, the problem is in the API. So where are the patches for this API.
I have attached a WireShark capture of the attempted transaction between PBSAPOS and the API.
It clearly shows "Internal Server Error: 500"