I can't connect my slackbot at all. I am using python.
There is no code involved because it says I cannot install the bot to the workspace.
Try re-logging into slack. Everything should be saved. Worked for me when I had the same error.