gatsby-source-notion-database
gatsby-source-notion-database copied to clipboard
Getting a strange error on compilation relating to the plugin, with no recent changes to my code.
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
Wondering if anybody else had similar experiences, did Notion close their API?
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