Open developerisnow opened 1 year ago
Hello, token v2 is now an array like : v02%3Auser_token_or_cookies%3AviCNp4....VEd Authentification is not working anymore
Am I true that there is no opportunity to make backup?
I'm recently getting a similar issue but it manages to extract tokenV2 but looks to fail on taskId:
Run java -jar ./target/notion-backup-1.0-SNAPSHOT.jar 03:04:13.882 [main] INFO com.greydev.notionbackup.NotionBackup - ---------------- Starting Notion Backup ---------------- INFO com.greydev.notionbackup.NotionClient - Downloads will be saved to: /tmp/ 03:04:14.254 [main] INFO com.greydev.notionbackup.NotionClient - Using export type: markdown 03:04:14.254 [main] INFO com.greydev.notionbackup.NotionClient - Flatten export file tree: false 03:04:14.254 [main] INFO com.greydev.notionbackup.NotionClient - tokenV2 extracted Exception in thread "main" java.lang.NullPointerException at com.greydev.notionbackup.NotionClient.triggerExportTask(NotionClient.java:218) at com.greydev.notionbackup.NotionClient.export(NotionClient.java:116) at com.greydev.notionbackup.NotionBackup.main(NotionBackup.java:56) Error: Process completed with exit code 1.
Same problem here: User cannot access space
error, with credentials that look like that, after URL-decoding:
I unfortunately can't reproduce the above mentioned problems. I'm not sure if Notion did some changes or if it's specific to your use case. Does anyone still get such errors? If so, please share a bit more information about how you are using the repository.
Also, using wrapping the values in .env
with single quotes sometimes leads to problems.