PurchaseOrders insertRecords

PurchaseOrders insertRecords

Hi. I'm trying to create Purchase Orders using Zoho API but I'm receiving error message: <response uri="/crm/private/xml/PurchaseOrders/insertRecords"><error><code>4401</code><message>Unable to populate data, please check if mandatory value is entered correctly.</message></error></response>

My python code es below:

params = {'authtoken':authtoken,'scope':'crmapi','newFormat':'1','xmlData':xmlData}
data = urllib.urlencode(params)
request = urllib2.Request(final_URL,data)
response = urllib2.urlopen(request)
xml_response = response.read()

The xml data is below:

<PurchaseOrders><row no="1"><FL val="Subject">ALK001/11alkosto</FL><FL val="Status">Por Programar (O/C)</FL><FL val="Vendor Name">0017000000YSsqKAAT</FL><FL val="Description"></FL><FL val="Negociaci\xc3\xb3n CFR/CIF">0</FL><FL val="Puerto de Destino">Buenaventura</FL><FL val="Porcentaje Comisi\xc3\xb3n">0</FL><FL val="ETD"></FL><FL val="Fecha Cobro Comisi\xc3\xb3n"></FL><FL val="Monto Comisi\xc3\xb3n Pagado">0</FL><FL val="Fecha Pago Comisi\xc3\xb3n"></FL><FL val="Observaciones Comisi\xc3\xb3n"></FL><FL val="Cuenta de Cobro"></FL><FL val="N. Contenedores Contratados">4</FL><FL val="Plazo (d\xc3\xadas)">60</FL><FL val="Total Despechado">4</FL><FL val="Monto Pagado">0</FL><FL val="Valor Total FOB Productos">281932.75</FL><FL val="Fecha Pago"></FL><FL val="Total FOB Despachado">280967.75</FL><FL val="No. Mulas">0</FL><FL val="Fecha Orden Compra Firmada">24/05/2011</FL><FL val="Flete">0</FL><FL val="Seguro">0</FL><FL val="Cuenta">Colombiana de Comercio - Alkosto</FL><FL val="Tipo de Orden">Global</FL><FL val="Forma de Pago">Giro Dto al Exterior</FL><FL val="Purchase Order Owner"> mmmm@000.com</FL><FL val="Product Details"><product no="1"><FL val="Product Id">2178603000000370000</FL><FL val="Product Name">Lomito de Atun  (Trozo) 70-30 en Agua - 1000/650 grs -Salica</FL><FL val="Unit Price">0</FL><FL val="Quantity">0</FL><FL val="List Price">0</FL><FL val="Total">0</FL></product><product no="2"><FL val="Product Id">2178603000000370000</FL><FL val="Product Name">Lomito de Atun  (Trozo) 70-30 en Agua - 354/230 grs - Salica</FL><FL val="Unit Price">0</FL><FL val="Quantity">0</FL><FL val="List Price">0</FL><FL val="Total">0</FL></product></FL></row></PurchaseOrders>

I reviewd the xml and all required fields listed in documentation are included.

Please, help with this issue.

Thanks in advance.