I have faced same issue on my project. And finally I have resolved it by removing the getTableRecordKey function.
Please try it for you. And let me know if you have any errors.
Best