Hello,
If you are getting errors related to the sample rate, could be caused by clock source since it is not able to generate the necessary frequency for that sample rate.
Sometimes, is needed to use a dedicated clock source such as an external clock to get an specific sample rate.
Best regards.