in moodle 3.7 tried:
1. export an existing frame, and just import the oreginal version, shows error.
2.after change the ID numbers that already existing in system to different ones, still show same error.
I have searched for quite a while, but seem answer in this error is very few.