HugoLime / notion-backup

Automate Notion workspace backup export
65 stars 12 forks source link

line 84, in backup if task_status["status"]["type"] == "complete": KeyError: 'status' #6

Open angelaaaateng opened 3 years ago

angelaaaateng commented 3 years ago

Hi! I'm currently trying to run your script to backup my notion workspace -- thanks so much for putting this together! However, I keep running into the above error. Could you please advise?

willleeney commented 2 years ago

I have previously used your script to backup my workspace but now I am also running into this issue

willleeney commented 2 years ago

@angelaaaateng task_status["status"]["type"] == "complete" needs to be rewritten to task_status["state"] == "success".

edit: correction