splitbee / react-notion

A fast React renderer for Notion pages
https://react-notion.com
MIT License
2.86k stars 151 forks source link

block rendering error #58

Open parkdoeui opened 3 years ago

parkdoeui commented 3 years ago

Hi,

I noticed that some of my content blocks in Notion are not rendered and seems like it is related to the error message below. Could anyone tell me why this happens and how I can fix this?

error rendering block eed5135d-4bc8-4a73-a97e-c1684b271546 
NotionRenderer@http://localhost:3000/static/js/0.chunk.js:48952:20
main
div
Block@http://localhost:3000/static/js/0.chunk.js:48618:15
NotionRenderer@http://localhost:3000/static/js/0.chunk.js:48952:20
div
ProjectNotion@http://localhost:3000/static/js/main.chunk.js:2068:23
Route@http://localhost:3000/static/js/0.chunk.js:49815:29
div
div
div
Main@http://localhost:3000/static/js/main.chunk.js:1856:19
Route@http://localhost:3000/static/js/0.chunk.js:49815:29
App
ThemeProvider@http://localhost:3000/static/js/0.chunk.js:54115:37
Router@http://localhost:3000/static/js/0.chunk.js:49450:30
HashRouter@http://localhost:3000/static/js/0.chunk.js:49115:35
transitive-bullshit commented 3 years ago

@DoParkEQ can you post the ID of the notion page you're using to test?

parkdoeui commented 3 years ago

@transitive-bullshit yes, it is c75aaa69a8d04b0b9f9d1c64934f5179

transitive-bullshit commented 3 years ago

@DoParkEQ this may be useful https://react-notion-x-demo.transitivebullsh.it/c75aaa69a8d04b0b9f9d1c64934f5179

alexandargyurov commented 3 years ago

Having the same issue. It seems to cut off content after a certain limit. Another example: 59c1d48a2a4b47bdadbc188110284014

alexandargyurov commented 3 years ago

Through some investigating, it is the notion-api-worker which returns the limited content block. It seems an issue has already been open: https://github.com/splitbee/notion-api-worker/issues/41