gatsby-source-notion-database icon indicating copy to clipboard operation
gatsby-source-notion-database copied to clipboard

Getting a strange error on compilation relating to the plugin, with no recent changes to my code.

Open conradlin opened this issue 4 years ago • 2 comments

ERROR #11321 PLUGIN

"gatsby-source-notion-database" threw an error while running the sourceNodes lifecycle:

Cannot convert undefined or null to object

50 | }) 51 | // console.log(_dbMap, cacheTable)

52 | let db = await nb.fetchAll(_dbMap) | ^ 53 | await Promise.all(Object.entries(db).map(async (i) => { 54 | let [tableName, collection] = i 55 | await genApiData(nb, collection, tableName, 'id', createNode, createNodeId, createContentDigest, cacheTable)

File: node_modules\gatsby-source-notion-database\gatsby-node.js:52:14

conradlin avatar Sep 05 '20 03:09 conradlin

Wondering if anybody else had similar experiences, did Notion close their API?

conradlin avatar Sep 05 '20 03:09 conradlin

I'm having the same problem, also all of the SVGs stopped loading as content at the same time. I suspect notion updated their API

ashlynbaum avatar Oct 18 '20 01:10 ashlynbaum