infusionsoft / API-Sample-Code

Sample API Code for various Languages
35 stars 86 forks source link

Failing to parse XML-RPC request #7

Closed swyse5 closed 9 years ago

swyse5 commented 9 years ago

When trying to make API calls, I keep getting the following error:

{
  "methodResponse": {
    "fault": {
      "value": {
        "struct": {
          "member": [
            {
              "name": "faultCode",
              "value": {
                "i4": 0
              }
            },
            {
              "name": "faultString",
              "value": "Failed to parse XML-RPC request: Premature end of file."
            }
          ]
        }
      }
    }
  }
}

What should I look for to fix this? Is this an issue on my end or Infusionsoft's? Any help would be appreciated!