It seems that XML-RPC api does not work any more. Every call ends in “String index out of range: -4” error. See:
→ curl "https://api.infusionsoft.com/crm/xmlrpc/v1?access_token=$TOKEN" -X POST -H 'Content-Type: text/xml' -H 'Accept: text/xml' -d '<?xml version="1.0" ?><methodCall><methodName>DataService.query</methodName><params><param><value><string></string></value></param><param><value><string>Contact</string></value></param><param><value><i4>1000</i4></value></param><param><value><i4>0</i4></value></param><param><value><struct/></value></param><param><value><array><data><value><string>Id</string></value><value><string>Email</string></value></data></array></value></param><param><value><string>LastUpdated</string></value></param><param><value><boolean>0</boolean></value></param></params></methodCall>'
<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><i4>0</i4></value></member><member><name>faultString</name><value>String index out of range: -4</value></member></struct></value></fault></methodResponse>
Everything was working OK 2 days ago. What’s wrong?