XGB.cv does not converge

I am trying to run xgboost.cv function to get the optimal iteration (nrounds). However, it does not seem to converge. The result does not give me a best iteration result. Is there anything wrong with my code?

xgbcv <- xgb.cv(params = params, 
                data = dtrain, 
                nrounds = 1000, 
                nfold = 5, 
                showsd = T, 
                stratified = T, 
                print_every_n = 10, 
                early_stop_round = 100, 
                maximize = F
                )

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you!

If you've never heard of a reprex before, start by reading "What is a reprex", and follow the advice further down that page.