Urgent please reply ASAP. invoice API customer related calls

Urgent please reply ASAP. invoice API customer related calls

Hi,

I am trying to delete a customer using invoice API. Since the POST method is needed, I am calling postURL command in creator and am making the following call:

postUrl("http://invoice.zoho.com/api/customers/delete/"+ CustomerID + "?apikey="+APIKey +"&ticket=" + Ticket, myMapVariable,false);

I get the following error:
RESPONSE CODE: 500 RESPONSE TEXT: The server encountered an unexpected condition which prevented it from fulfilling the request.

Similarly when I want to view customer details, I invoke getURL
responseText = getUrl("http://invoice.zoho.com/api/customers/"+ myCustomerID + "?apikey="+APIKey+"&ticket=" +Ticket,false);


I get the following error:
RESPONSE:{"responseCode":"500","responseText":"The server encountered an unexpected condition which prevented it from fulfilling the request."}


Please help ASAP. Your help is much appreciated.

Thank you