You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noted in the documentation that it should automatically try and spread data that would be too long into multiple blocks, however after using markdownToBlocks() with some data that contained many lines and line breaks, the result was a paragraph block with a rich_text array that had over 100 items, which is over Notion's API limit for rich_text items.
When reading the docs, I thought it might try and spread the excess rich_text items into other blocks, but looking at the source code it will either truncate the array or leave it as it is - I think we should create X-amount of blocks until all excess rich_text items can fit?
The text was updated successfully, but these errors were encountered:
Tried to upload something and got the error Error adding block: 400 - {"object":"error","status":400,"code":"validation_error","message":"body failed validation: body.children.length should be ≤ 100, instead was 139.","request_id":""}
Hi, thanks for this package!
I noted in the documentation that it should automatically try and spread data that would be too long into multiple blocks, however after using
markdownToBlocks()
with some data that contained many lines and line breaks, the result was aparagraph
block with arich_text
array that had over 100 items, which is over Notion's API limit forrich_text
items.When reading the docs, I thought it might try and spread the excess
rich_text
items into other blocks, but looking at the source code it will either truncate the array or leave it as it is - I think we should create X-amount of blocks until all excessrich_text
items can fit?The text was updated successfully, but these errors were encountered: