ERROR with the MDS Plot

Having this issue using limma to analyze output from featurecount

Error in cmdscale(as.dist(dd), k = ndim) :
‘k’ must be in {1, 2, … n - 1}
Calls: plotMDS -> plotMDS.DGEList -> plotMDS -> plotMDS.default
Execution halted

How do I correct this?

Much appreciated!