Private pages are returning empty objects, even with Authorization Header, and user token.
ctbwx opened this issue · 3 comments
ctbwx commented
Hey, this could just be a user error, but I've tried both approaches and can't get private pages to return any BlockMap from the Splitbee Notion worker, or a personal worker that I spun up.
Personal Worker:
I created the notion worker from a local clone and uploaded it to CloudFlare:
And this is what comes back when I search a private page
This is what that said paid looks like in Notion:
I got the token from the cookie in notion it's key was "token_v2" so I'm pretty sure I grabbed the right thing.
Please let me know if I'm doing something wrong. Thanks.
ctbwx commented
toughyear commented
same issue here.
Lucaslpena commented
You need to take the cookie as noted in the read me. Here is how to view cookies.
Also just so you know, images don't seem to be working on private pages.