The error that you are getting arises when there is no primary key in the SQL table. Please make sure that you have at least one primary key in the SQL table. If the issue still persists, after creating primary key, please let me know.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!