Custom Function not working

Custom Function not working

so i was trying to use the custom function like this

data = zoho.crm.getRecordById("Accounts", input.accountId);
info data;

Could you tell me what is wrong with the code?
it always return data null

even if i only try to get list from the module like this

data = zoho.crm.getRecords("Accounts");
info data;

it is still return the data null.
could you help me with this

Thank You