Get data from APIrequest gives null values

Get data from APIrequest gives null values

Hello, 

We are facing problem with geting values from CRMAPIrequest.

The function was executed when a contract was signed by zoho sign, the data was sent by zoho CRM API rest, and then function was getting recipient email to match the deal and then fill deal sign date.

But today when I wanted to change this function a litlle bit to the function stop working. 
When I try to get recipient email info info function gives me null body values.
I really don't know what happend, I tried already to reset and update the API URL, but still it doesn't work.

The code:
  1. Email = crmAPIRequest.get("recipient_email");
  2. searchParam = "(Deal_Email:equals:" + Email + ")";
  3. deal = zoho.crm.searchRecords("Deals",searchParam);
  4. deal = deal.get(0);
  5. id = deal.get("id");
  6. date = zoho.currentdate;
  7. mp = Map();
  8. mp.put("Data_podpisania",date);
  9. resp = zoho.crm.updateRecord("Deals",id,mp);
  10. workdriveid = deal.get("Projekty_folder_ID");
  11. return "";

Code that gives me null values:



Does any one have any solution?