Did you try connecting the keyboard using a different USB port?
Did you try connecting the keyboard to another computer to isolate the issue?
Did you try updating the drivers of the keyboard?
You can refer to the link mentioned below which may help you fix the issue:
Thanks & Regards