Problem with data split

Hi,
I used caret for splitting my data and got this warning :

Warning message:
Too little data to stratify. Unstratified resampling will be used.

I did not see this warning when I split a smaller number of data points.

What caret function are you using? What's the distribution of the variable you're using to split? Wonder if there's only a small number of unique values.

It's a lot easier to help with a reproducible example.