The risk of diabetic ketoacidosis is highest if you: Have type 1 diabetes Often miss insulin doses Sometimes, diabetic ketoacidosis can occur with type 2 diabetes. In some cases, diabetic ketoacidosis may be the first sign of having diabetes.