Error in executing zoho.invoice.createinvoice task

Error in executing zoho.invoice.createinvoice task

Hi Team I have been using a Zoho Creator to Zoho Invoice creation task for several months. Today it stopped working. The error it produces is this: 

Error details: Error in executing On Add - On Success script. 
Error. Error in executing Set Variable task. Unable to update template variable invResp. 
Error evaluating MAP expression : 
Error in executing zoho.invoice.createinvoice task : Error.. 

Here is the code that I am using to create the invoice.. .Can anyone please tell me what is wrong with this? 

gateWays = { "PayPal" : 1, "Authorise.Net" : "", "GoogleCheckout" : "" }; 
invCustResponse = zoho.invoice.createcustomer({ "CustomerName" : input.Customer_Name, "FirstName" : input.Name, "LastName" : input.Surname, "CurrencyCode" : "AUD", "Email" : input.Email_Address, "Mobile" : input.Mobile_Number }, coName); 
invResp = zoho.invoice.createinvoice({ "CustomerName" : input.Customer_Name, "ItemName" : txtItem, "ItemRate" : input.Fee, "PaymentGateways" : gateWays }, true, coName); 


I made some minor changes to the script today to push info to CRM, however I have reverted the script back to what it was and still no luck. 
I did integrate Zoho CRM with Zoho Invoice as well today. Will integrating ZCRM and ZI not allow me to create contacts in Zoho Invoice from ZC anymore? In any event - I removed the integration and the same issue persists. Any help would be greatly appreciated - this is for a client who is not happy about the lack of invoice creation. 

Thanks 
Regards 
Jason