One problem associated with the SGLT-2 medications (the 'gliflozis) is urinary tract infections. It is caused by the extra glucose in the wee being a nutrient for microbes and they multiply. Usually, it is at the last stage that this happens and leads to the prurient itch that is uncomfortable but not dangerous. However, some infections can occur earlier in the chain and affect the bladder and even the kidneys. These infections are dangerous and need immediate treatment.
See your doctor if the pain persists. You may need antibiotics. I suffered this effect quite badly myself when I went onto this type of med, and it was one of these high powered infections that needed a very strong antibiotic that in itself had a list of side effects and warnings that extended over two pages of the user instructions leaflet in the box. Not pleasant once one of these events gets a good grip.