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
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.
Yes, the token is available. Calling it with postman will return success response.
And after several attempts the block where the error occurs keeps changing
So, I guess intermittently not getting a success response from the notion to block requests.
I'm not beleved to be an error in this library. However, i having issue, so created this ticket
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.
The text was updated successfully, but these errors were encountered: