slack-chat-backup
slack-chat-backup copied to clipboard
Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it!
Loading my own profile.. Invalid json result. Re-trying.. Invalid json result. Re-trying.. Invalid json result. Re-trying.. Invalid json result. Re-trying.. Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it!
###
### BEGIN: configuration
###
# slack related variables
team_name="myworkspace"
team_id="TPHBDFSD"
cookie="copied_from_browser"
ims_ignored=""
mpims_ignored=""
channels_ignored=""
# local preferences
USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0"
MAX_THREADS=5 # number of jobs to run at the same time
SKIP_ARCHIVED_CHANNELS=1 # whether to skip archived channels
SYNC_INCREMENTAL=0 # whether to do a full sync or just incremental one. default: 0
# these don't need to be changed
x_version_ts=$(date +%s)
x_id=$(echo $x_version_ts | md5sum | cut -c -8)
###
### END: configuration
###
Tried deleting the cookie file but can't get it to work.
Search for api/client.boot
in Network Devtool and copy cookie and token from there
I’ve used cookie and token from the api/client.boot
and it still caused the same error.
I had same problem on M1 Macbook Monterey 12.4.
Did you wrap token and cookie in ""
?
Also, remove the folders cookie
before retrying.
Here's how I got it working:
export cookie
cookie='b=.#x####x#x#####x###x#x######x##xx; d=xoxd-XXxxXXXXXxX#xXXXxxxXXxxXxX%#XXxXXXXxxxxxXXxXxxxxxxXXXxxxXXxxXxXx#XX#xxXxXxx##%#X%#XxxX%#XxxX#xX%#X%#XxXxXxxXXxxXXxxXX%#XXXx#xXxXXXXxXxxxxxxXx#Xxx##XXxxx##xXXx#XxxXx#XXxX##XXx#X%#XxXxXXxxXxxX#XXxxXXX%#X%#X;'
export token
token='xoxc-##########-############-#############-x########xx##xxx####x#x##x##x#x##xxxx##########x#x#xx#xx##x#xxx#'
NOTE: xoxd- and xoxc- do not match. It took me a while to notice these are different strings all together 🤦🏻