The presence of glucose in the urine is known as glycosuria. This can happen in those with diabetes due to the body not producing enough insulin. Having too little insulin in your body can lead to absorption issues.
If your body is not able to absorb the insulin properly because there is not enough of it, it can cause higher levels of glucose in your blood and high levels of glucose in your urine.