1) When you use star dust, the amount of star dust you have left does not automatically update, it takes a lot of time.
2) The Bot uses the OLD chart of Candy / Pokemon upgrades.
As you can see below the old chart is totally out of date.
This is what the units in the CTP (candies to power up) and STP (star dust to power up), in the "My Pokemon" tab on the bot, need to be updated to:
Pokemon Level / Star Dust Required / Candies required