SaveRestrictedContentBot icon indicating copy to clipboard operation
SaveRestrictedContentBot copied to clipboard

Userbot Error ! Have you added SESSION while deploying??

Open luxikakashi opened this issue 10 months ago • 4 comments

✔ Network saverestrictedcontentbot_default Created 0.1s ✔ Container srcbot Created 0.1s Attaching to srcbot srcbot | starting Bot ~@DroneBots srcbot | Userbot Error ! Have you added SESSION while deploying?? srcbot exited with code 1 what's wrong with this?

luxikakashi avatar Apr 23 '24 08:04 luxikakashi

✔ Network saverestrictedcontentbot_default Created 0.1s ✔ Container srcbot Created 0.1s Attaching to srcbot srcbot | starting Bot ~@DroneBots srcbot | Userbot Error ! Have you added SESSION while deploying?? srcbot exited with code 1 what's wrong with this?

try delete *session files in the bot folder...

timgahmen avatar Apr 27 '24 07:04 timgahmen

image there no *session files

✔ Network saverestrictedcontentbot_default Created 0.1s ✔ Container srcbot Created 0.1s Attaching to srcbot srcbot | starting Bot ~@DroneBots srcbot | Userbot Error ! Have you added SESSION while deploying?? srcbot exited with code 1 what's wrong with this?

try delete *session files in the bot folder...

luxikakashi avatar Apr 28 '24 09:04 luxikakashi

image there no *session files

✔ Network saverestrictedcontentbot_default Created 0.1s ✔ Container srcbot Created 0.1s Attaching to srcbot srcbot | starting Bot ~@DroneBots srcbot | Userbot Error ! Have you added SESSION while deploying?? srcbot exited with code 1 what's wrong with this?

try delete *session files in the bot folder...

First check again:

  • refresh the directory -> now a session file there?
  • then also delete the "__pycache__" folders:
  • /pycache/
  • download/pycache/
    • in every folder (refresh always the folder befor)
  • ==> then for me it works to 99 % again ....

If still not work... Second check:

  • "First check" (delete all session files + pycache)
  • rename the userbot:
  • not "srcbot" .... anyt other name "srcbot123" maybe

timgahmen avatar Apr 28 '24 10:04 timgahmen

image there no *session files

✔ Network saverestrictedcontentbot_default Created 0.1s ✔ Container srcbot Created 0.1s Attaching to srcbot srcbot | starting Bot ~@DroneBots srcbot | Userbot Error ! Have you added SESSION while deploying?? srcbot exited with code 1 what's wrong with this?

try delete *session files in the bot folder...

First check again:

  • refresh the directory -> now a session file there?
  • then also delete the "__pycache__" folders:
  • /pycache/
  • download/pycache/
    • in every folder (refresh always the folder befor)
  • ==> then for me it works to 99 % again ....

If still not work... Second check:

  • "First check" (delete all session files + pycache)
  • rename the userbot:
  • not "srcbot" .... anyt other name "srcbot123" maybe

problem solved,in the pysession part,i miss a ",so it cannot be recognized``thanks

luxikakashi avatar Apr 29 '24 02:04 luxikakashi