"Invalid Ticket Id" error message in Zoho recruit.

"Invalid Ticket Id" error message in Zoho recruit.

I'm trying to use "updateRecord" in deluge through Zoho recruit but I keep getting an error that says "Invalid Ticket Id". 

  1. candidate = Map();
  2. candidate.put("Owner",zoho.loginuser);
  3. zoho.recruit.updateRecord("Candidates", recordId , candidate);
I also tried this with getRecords but I get the same error. 
  1. zoho.recruit.getRecords("Candidates");
This error seems to be only happening with Zoho recruit.