API problem with xmlData parameter

API problem with xmlData parameter

Hi there, 

Recently the API has stopped working for us - we reverted to using the SSL version of the API. However, now we can only get a return value with the following:-
  1. <response><error><code>4600</code><message>Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter.</message></error></response>
The xmlData parameter is the following - the one listed on this API documentation page:  https://zohocrmapi.wiki.zoho.com/insertRecords-Method.html
  1. <Leads>
  2.   <row no="1">
  3.     <FL val="LEADCF3"></FL>
  4.     <FL val="Last Name">Jobs</FL>
  5.     <FL val="LEADCF4"></FL>
  6.     <FL val="LEADCF14"></FL>
  7.     <FL val="City"></FL>
  8.     <FL val="Postal Code"></FL>
  9.     <FL val="LEADCF5"></FL>
  10.     <FL val="LEADCF15"></FL>
  11.     <FL val="LEADCF37"></FL>
  12.     <FL val="LEADCF38"></FL>
  13.     <FL val="Phone"></FL>
  14.     <FL val="LEADCF39"></FL>
  15.     <FL val="LEADCF40"></FL>
  16.     <FL val="Lead Name"></FL>
  17.     <FL val="Sector"></FL>
  18.     <FL val="LEADCF29"></FL>
  19.     <FL val="Company"></FL>
  20.     <FL val="Website"></FL>
  21.     <FL val="LEADCF19"></FL>
  22.     <FL val="LEADCF53"></FL>
  23.     <FL val="Lead Owner">email@email.com</FL>
  24.     <FL val="Email"> email@email.com</FL>
  25.     <FL val="Description"></FL>
  26.     <FL val="LEADCF54"></FL>
  27.     <FL val="Lead Source"></FL>
  28.     <FL val="First Name">Steve</FL>
  29.   </row>
  30. </Leads>
So the (Ruby) code is as follows...
  1. options = {   :newFormat => "1",
  2.                   :apikey => API_KEY,
  3.                   :duplicateCheck => "2",
  4.                   :ticket => read_ticket_from_file }
  5.                   :xmlData => ... }

  6. response = RestClient.post 'https://crm.zoho.com/crm/private/xml/Leads/insertRecords', options
Can you see anything wrong with this?

Many thanks, Andy.