Open stefanfeldner opened 1 year ago
The error below occurs when I pre-render my website using getStaticPaths on GitHub Actions. Locally, it works fine 4/5 times.
Error on notion.getPage(a1c4c4eb2a8842e9a53a8d642b5da034)
HTTPError: Response code 403 (Forbidden) at Request.<anonymous> (/home/fakename/runner-two-one/_work/fakename-repo/fakename-repo/node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/as-promise/index.js:118:42) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1684765933516, socket: 1684765933520, lookup: 1684765933522, connect: 1684765933529, secureConnect: 1684765933551, upload: 1684765933553, response: 1684765933570, end: 1684765933590, error: undefined, abort: undefined, phases: { wait: 4, dns: 2, tcp: 7, tls: 22, request: 2, firstByte: 17, download: 20, total: 74 } } }
Do I maybe need to add an authToken or something else? I tried to use the authToken and the active user like it is described here: LINK
That did not work and as far as I know, the authToken changes and I can't automatically fetch it. Is there any other way to do this?
Thank you very much!
Description
The error below occurs when I pre-render my website using getStaticPaths on GitHub Actions. Locally, it works fine 4/5 times.
Notion Test Page ID
Error on notion.getPage(a1c4c4eb2a8842e9a53a8d642b5da034)
Do I maybe need to add an authToken or something else? I tried to use the authToken and the active user like it is described here: LINK
That did not work and as far as I know, the authToken changes and I can't automatically fetch it. Is there any other way to do this?
Thank you very much!