ListAccountCodes API Issue
Problem reported by Chris Curtis 9 years ago
Hi,
I've been using the API all fine. This morning I am getting a error when using ListAccountCodes.
The error on the server logs says
[13-Jan-2016 10:40:55 Europe/Dublin] PHP Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SOAP-ERROR: Encoding: string '\xa0...' is not a valid utf-8 string in C:\inetpub\nucoplus\inc\clearbooksapi\src\Clearbooks\Soap\1\0.php:388 Stack trace:
0 C:\inetpub\nucoplus\inc\clearbooksapi\src\Clearbooks\Soap\1\0.php(388): SoapClient->__soapCall('listAccountCode...', Array, Array)
1 C:\inetpub\nucoplus\inc\clearbooksapi\src\Clearbooks\Soap\1\0.php(241): Clearbooks_Soap_1_0->_call('listAccountCode...')
2 C:\inetpub\nucoplus\inc\clearbooksapi\live\ListAccountCodes.php(7): Clearbooks_Soap_1_0->listAccountCodes()
3 {main}
thrown in C:\inetpub\nucoplus\inc\clearbooksapi\src\Clearbooks\Soap\1\0.php on line 388
The call is made from - http://www.nucoplus.com/inc/clearbooksapi/live/ListAccountCodes.php - which is using the code from the pre-compiled library on the API documentation.
I created some new codes yesterday so i'm not sure if that has something to do with it.
Any help would be greatly appreciated.