Closed kennedyrose closed 2 years ago
Hi, @kennedyrose, sorry for the late reply. This URL leads to a redirect page instead of the original page, so the lib faces an error when trying to fetch page content. Pointing to a plain public Notion page should fix the problem. These redirect pages are not supported, but this error message is not clear, so I released a new version #21 that handles this error properly by throwing the following message
NotionPageNotFound: Can not find Notion Page of id 584a1c27-a106-42d8-8694-73588a5c1b45. Is the url correct? It is the original page or a redirect page (not supported)?
Thank you for your report!
I'm getting the following error:
When trying to use it with this page:
https://www.notion.so/smarterlabs/Setting-Up-a-New-Vercel-Website-584a1c27a10642d8869473588a5c1b45
I can get it to work just fine with the example page you have in the readme. So I'm assuming it's something on that page the notion-page-to-html module doesn't support.