slack-chat-backup icon indicating copy to clipboard operation
slack-chat-backup copied to clipboard

Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it!

Open sla-te opened this issue 3 years ago • 5 comments

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.

sla-te avatar Aug 13 '21 18:08 sla-te

Search for api/client.boot in Network Devtool and copy cookie and token from there

arpitBhalla avatar Mar 06 '22 11:03 arpitBhalla

I’ve used cookie and token from the api/client.boot and it still caused the same error.

datayja avatar Mar 22 '22 20:03 datayja

I had same problem on M1 Macbook Monterey 12.4.

zu2 avatar Jul 19 '22 13:07 zu2

Did you wrap token and cookie in ""?

Also, remove the folders cookie before retrying.

ArneZsng avatar Aug 08 '22 10:08 ArneZsng

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 🤦🏻

davidvasandani avatar Jan 26 '23 20:01 davidvasandani