When I try to import a CAP file, I get the error message “There is an invalid number of frame in the data“.

If frame rate is mentioned in the header component of a CAP file, you have to match the .sdb file’s frame rate to it.
To set the frame rate of .sdb file, go to “Configuration” and choose “Synchronize Image and Time Code”, and choose “Basic Settings”.

Please check the frame rate in the header of the cap file, and set your sdb’s frame rate as follows.
If the CAP header says “DF0+1”: Set .sdb’s frame rate to anything except “30Fr DF”
If the CAP header says “DF1+1”: Set sdb’s frame rate to “30Fr DF”