Open akrulec opened 1 week ago
Looks like an issue with this function: https://github.com/JoshStern/push-md-to-notion/blob/8868a8e5e0f431adb368812155cf5fc8c9fbfa25/src/notion.ts#L46
My bet is your doc gets parsed to more than 100 blocks which is the API limit for Notion. We can iterate over batches of 100 instead of trying to append blocks all at once.
It'll be a while for me to get to something like this but I'm around to review if you want to contribute.
I have recently started seeing the following error with every push. Any idea what it refers to? Thank you