Open
Description
while running the getBlocks function, I'm getting the following error.
FetchError : invalid json response body. reason: 'Unexpected toekn < in JSON at position 0'
The token and databseId are fine.
When I called the API with Postman, I got a success response.
And get those errors intermittently in the some block.
If this error occurs even once, the build will fail.
(gatsby-source-notion-api
Could not fetch data from Notion API. Check if "databaseId" and "token" are provided correctly. Make sure the integration using provided token has access to provided database.)
This issue started happening out of the blue a few days ago.
"gatsby": "^5.7.0",
"gatsby-source-notion-api": "^0.12.0",
Metadata
Metadata
Assignees
Labels
No labels