Solved
I'm programming stm32f103 using CUBEIDE. I'm having this error "Could not verify ST device! Please verify that the latest version of the GDB-server is used for the connection."
I have selected the debug prob to ST-LINK OpenOCD.

I have selected the debug prob to ST-LINK OpenOCD.

Has it worked before?
Is this a Blue Pill board with a fake STM32?
What's connected to the probe? You have NRST? Does connect under reset work?
Does STM32 Cube Programmer, the stand-alone app, work with this board/part?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.