Custom Dataset Error

How to get rid of this error. I am getting this error only for custom datasets. Please help me.
Edited - Issue is with KeyPoint detection with YOLOv8

Please Help Me !!!