I have created my connector as follows:


In my power app, i connect the custom connector through add data. Now on the OnStart property i write following formula:
ClearCollect(
WFHData,
'XEPST API'.GetWFHRecords().EmployeeDetails.UserInfo
);
ClearCollect(
WFHToday,
ForAll(
WFHData,
{
EmployeeID: EmployeeID,
FullName: FirstName & " " & LastName,
WFHRecords: WFHRecords
}
)
);
ClearCollect(
WFHTodayRecords,
ForAll(
WFHToday,
ForAll(
WFHRecords,
{
EmployeeID: ThisRecord.EmployeeID,
FullName: ThisRecord.FullName,
Date: ThisRecord.Date,
WFH: ThisRecord.WFH,
WFHApproved: ThisRecord.WFHApproved,
WFHRemarks: ThisRecord.WFHRemarks
}
)
)
);
ClearCollect(
WFHTodayFiltered,
Filter(
WFHTodayRecords,
DateValue(Date) = Today() && WFH = true
)
);
the following error shows

'GetWFHRecords' is an unknown or unsupported function in namespace ' 'XEPST API' '.