@KarbonCopy told me
I I'm using ultroid cli

First of all go to heroku then settings "reveal config "

⚠️copy down all your details like api id, hash Etc.......


API_ID
API_HASH, SESSION, HEROKU_API, HEROKU_APP_NAME,
REDIS_PASSWORD,REDIS_URI

Enter your old details.. Of API ID, HASH....... etc...
💖 All Done.... If you're getting error again try change to the session string
