KEY-VALUE - Can not execute "get"

KEY-VALUE - Can not execute "get"

I created a new Mail Filter with "specific function" and use the "default" code (For a new empty template) i.e. this:

  1. messageDetails = zoho.mail.getMessage(mail_messageId);
  2. mailContent = messageDetails.get("CONTENT");
  3. fromAddress = messageDetails.get("FROM");
  4. info "GOT ";
  5. info mail_messageId;
  6. info mailContent;
  7. info fromAddress;
i get the following error while "test execution":
Line N0: 4, Argument type mismatch - Found 'TEXT' but Expected '[KEY-VALUE, TEXT, LIST]' for the function 'get'