NUTS and zero derivative error

One of the reason is some prior being too uninformative and the derivative is too small. What kind of model you are testing, and also what is the full error message?