Notion APi doesn't support the body for more than 2000 words #1
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Currently , I am using substring(), method to cut out the words more than 2000.
There is another way :
// This approach creates 2 pages with the same title
// if (description.length > 2000) {
// for (let i = 0; i < description.length; i += 2000) {
// let chunk = description.substring(i, i + 2000);
// await createNotionPage(message, chunk);
// }
// }else{
// await createNotionPage(message, description);
// }
So , we need to find a way so that the descripton gets uploaded to the under the same title
The text was updated successfully, but these errors were encountered: