Giter Club home page Giter Club logo

Comments (7)

otoyo avatar otoyo commented on September 3, 2024 1

I'm glad to hear that.
Ah, uploaded videos are not supported currently. You can use YouTube video link instead.

Have fun!

from astro-notion-blog.

otoyo avatar otoyo commented on September 3, 2024

The error is occurred because the Notion Database is not found.
Please make sure the step 3, 5, 9 of Quickstart.
If you are not sure, please take a screenshot and comment here.

--

Notionデータベースが見つからないというエラーが出ているようです。
クイックスタート のステップ3, 5, 9の手順を再度確認いただけますでしょうか?
もしわからないところがあればスクショを撮ってコメントいただければと思います。

from astro-notion-blog.

thamizhnation avatar thamizhnation commented on September 3, 2024

Yes. 3,5,9 steps are followed

2023-01-22T13:44:57.627053Z Cloning repository...
2023-01-22T13:44:58.455331Z From https://github.com/thamizhnation/astro-notion-blog-1
2023-01-22T13:44:58.455987Z * branch 7e74e1e -> FETCH_HEAD
2023-01-22T13:44:58.456217Z
2023-01-22T13:44:58.510243Z HEAD is now at 7e74e1e Merge pull request #5 from otoyo/fix-blob-fetch
2023-01-22T13:44:58.510799Z
2023-01-22T13:44:58.651128Z
2023-01-22T13:44:58.677055Z Success: Finished cloning repository files
2023-01-22T13:44:59.344664Z Installing dependencies
2023-01-22T13:44:59.357709Z Python version set to 2.7
2023-01-22T13:45:02.838688Z Downloading and installing node v16.13.0...
2023-01-22T13:45:03.287743Z Downloading https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz...
2023-01-22T13:45:03.704212Z Computing checksum with sha256sum
2023-01-22T13:45:03.832071Z Checksums matched!
2023-01-22T13:45:08.043901Z Now using node v16.13.0 (npm v8.1.0)
2023-01-22T13:45:08.462408Z Started restoring cached build plugins
2023-01-22T13:45:08.475543Z Finished restoring cached build plugins
2023-01-22T13:45:09.006998Z Attempting ruby version 2.7.1, read from environment
2023-01-22T13:45:12.594478Z Using ruby version 2.7.1
2023-01-22T13:45:12.9476Z Using PHP version 5.6
2023-01-22T13:45:13.111821Z 5.2 is already installed.
2023-01-22T13:45:13.139326Z Using Swift version 5.2
2023-01-22T13:45:13.139807Z Started restoring cached node modules
2023-01-22T13:45:13.155767Z Finished restoring cached node modules
2023-01-22T13:45:13.164228Z Started restoring cached yarn cache
2023-01-22T13:45:13.178619Z Finished restoring cached yarn cache
2023-01-22T13:45:13.200654Z Installing yarn at version 1.22.4
2023-01-22T13:45:13.218677Z �[37mInstalling Yarn!�[0m
2023-01-22T13:45:13.218964Z �[36m> Downloading tarball...�[0m
2023-01-22T13:45:13.259721Z
2023-01-22T13:45:13.260017Z [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.Kbp85dZEkQ
2023-01-22T13:45:13.260741Z % Total % Received % Xferd Average Speed Time Time Time Current
2023-01-22T13:45:13.261089Z Dload Upload Total Spent Left Speed
2023-01-22T13:45:13.503098Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 79 100 79 0 0 325 0 --:--:-- --:--:-- --:--:-- 326
2023-01-22T13:45:13.645634Z
100 92 100 92 0 0 238 0 --:--:-- --:--:-- --:--:-- 238
2023-01-22T13:45:13.804833Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T13:45:14.143684Z
100 1215k 100 1215k 0 0 1376k 0 --:--:-- --:--:-- --:--:-- 1376k
2023-01-22T13:45:14.144023Z
2023-01-22T13:45:14.144238Z [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.Kbp85dZEkQ.asc
2023-01-22T13:45:14.17648Z
100 83 100 83 0 0 2605 0 --:--:-- --:--:-- --:--:-- 2605
2023-01-22T13:45:14.178914Z
100 96 100 96 0 0 2798 0 --:--:-- --:--:-- --:--:-- 2798
2023-01-22T13:45:14.187195Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T13:45:14.268267Z
100 1028 100 1028 0 0 8314 0 --:--:-- --:--:-- --:--:-- 8314
2023-01-22T13:45:14.315662Z �[36m> Verifying integrity...�[0m
2023-01-22T13:45:14.356987Z gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2023-01-22T13:45:14.36307Z gpg: Good signature from "Yarn Packaging [email protected]"
2023-01-22T13:45:14.365636Z gpg: Note: This key has expired!
2023-01-22T13:45:14.365878Z Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2023-01-22T13:45:14.366033Z Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2023-01-22T13:45:14.366798Z �[32m> GPG signature looks good�[0m
2023-01-22T13:45:14.366989Z �[36m> Extracting to ~/.yarn...�[0m
2023-01-22T13:45:14.457765Z �[36m> Adding to $PATH...�[0m
2023-01-22T13:45:14.481687Z �[36m> We've added the following to your /opt/buildhome/.bashrc
2023-01-22T13:45:14.481999Z > If this isn't the profile of your current shell then please add the following to your correct profile:
2023-01-22T13:45:14.482148Z
2023-01-22T13:45:14.482268Z export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2023-01-22T13:45:14.482395Z �[0m
2023-01-22T13:45:14.863597Z �[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the yarn command will now be available.�[0m
2023-01-22T13:45:15.256602Z Installing NPM modules using Yarn version 1.22.4
2023-01-22T13:45:15.961562Z yarn install v1.22.4
2023-01-22T13:45:16.049785Z [1/4] Resolving packages...
2023-01-22T13:45:16.298063Z [2/4] Fetching packages...
2023-01-22T13:45:31.353753Z warning [email protected]: The engine "pnpm" appears to be invalid.
2023-01-22T13:45:31.355728Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.355977Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.35689Z info @esbuild/[email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.357118Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.357265Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.357402Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.357536Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.357671Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.357787Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.357897Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.358017Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.358132Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.358249Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.358366Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.358492Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.358613Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.358763Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.358876Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.35899Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.359107Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.359223Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.359349Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.359874Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.36002Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.360134Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.360243Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.360358Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.360487Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.360608Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.360738Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.360852Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.361012Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.361329Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.361499Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.361654Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.361791Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.361949Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.362086Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.362232Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.362349Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.362476Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.362591Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.362717Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.362833Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.362943Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.363052Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.363174Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.363352Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T13:45:31.363497Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T13:45:31.36361Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T13:45:31.367349Z [3/4] Linking dependencies...
2023-01-22T13:45:31.369066Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react@^17.0.50 || ^18.0.21".
2023-01-22T13:45:31.36929Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react-dom@^17.0.17 || ^18.0.6".
2023-01-22T13:45:31.371464Z warning "@typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
2023-01-22T13:45:41.512277Z [4/4] Building fresh packages...
2023-01-22T13:45:42.962732Z Done in 27.01s.
2023-01-22T13:45:42.99129Z NPM modules installed using Yarn
2023-01-22T13:45:43.285783Z Installing Hugo 0.54.0
2023-01-22T13:45:43.965469Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-01-22T13:45:43.969576Z Started restoring cached go cache
2023-01-22T13:45:43.993403Z Finished restoring cached go cache
2023-01-22T13:45:44.130327Z go version go1.14.4 linux/amd64
2023-01-22T13:45:44.145178Z go version go1.14.4 linux/amd64
2023-01-22T13:45:44.147879Z Installing missing commands
2023-01-22T13:45:44.148152Z Verify run directory
2023-01-22T13:45:44.148311Z Executing user command: npm run build
2023-01-22T13:45:44.590919Z
2023-01-22T13:45:44.591258Z > [email protected] build
2023-01-22T13:45:44.591416Z > astro build
2023-01-22T13:45:44.591547Z
2023-01-22T13:45:46.607987Z 01:45:46 PM [build] output target: static
2023-01-22T13:45:46.608364Z 01:45:46 PM [build] Collecting build info...
2023-01-22T13:45:46.609655Z 01:45:46 PM [build] Completed in 22ms.
2023-01-22T13:45:46.610524Z 01:45:46 PM [build] Building static entrypoints...
2023-01-22T13:45:49.481595Z 01:45:49 PM [build] Completed in 2.87s.
2023-01-22T13:45:49.482082Z
2023-01-22T13:45:49.48253Z building client
2023-01-22T13:45:55.377645Z
2023-01-22T13:45:55.378011Z (!) Some chunks are larger than 500 KiB after minification. Consider:
2023-01-22T13:45:55.378188Z - Using dynamic import() to code-split the application
2023-01-22T13:45:55.37831Z - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
2023-01-22T13:45:55.378443Z - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2023-01-22T13:45:55.378592Z Completed in 5.90s.
2023-01-22T13:45:55.378708Z
2023-01-22T13:45:55.378815Z
2023-01-22T13:45:55.378921Z generating static routes
2023-01-22T13:45:56.234871Z ▶ src/pages/index.astro
2023-01-22T13:45:56.252745Z └─ /index.html (+18ms)
2023-01-22T13:45:56.253068Z ▶ src/pages/blog/index.astro
2023-01-22T13:45:56.349349Z @notionhq/client warn: request fail {
2023-01-22T13:45:56.349679Z code: 'object_not_found',
2023-01-22T13:45:56.349856Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T13:45:56.350004Z }
2023-01-22T13:45:56.357792Z @notionhq/client warn: request fail {
2023-01-22T13:45:56.358023Z code: 'object_not_found',
2023-01-22T13:45:56.358154Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T13:45:56.358272Z }
2023-01-22T13:45:56.364981Z @notionhq/client warn: request fail {
2023-01-22T13:45:56.365196Z code: 'object_not_found',
2023-01-22T13:45:56.365335Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T13:45:56.365484Z }
2023-01-22T13:45:56.506533Z error Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.
2023-01-22T13:45:56.506947Z File:
2023-01-22T13:45:56.507177Z /opt/buildhome/repo/node_modules/@notionhq/client/build/src/errors.js:162:16
2023-01-22T13:45:56.507394Z Code:
2023-01-22T13:45:56.507559Z 161 | if (apiErrorResponseBody !== undefined) {
2023-01-22T13:45:56.507773Z > 162 | return new APIResponseError({
2023-01-22T13:45:56.50796Z | ^
2023-01-22T13:45:56.508181Z 163 | code: apiErrorResponseBody.code,
2023-01-22T13:45:56.508339Z 164 | message: apiErrorResponseBody.message,
2023-01-22T13:45:56.508508Z 165 | headers: response.headers,
2023-01-22T13:45:56.508688Z Stacktrace:
2023-01-22T13:45:56.508858Z APIResponseError: Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.
2023-01-22T13:45:56.508977Z at buildRequestError (/opt/buildhome/repo/node_modules/@notionhq/client/build/src/errors.js:162:16)
2023-01-22T13:45:56.509128Z at Client.request (/opt/buildhome/repo/node_modules/@notionhq/client/build/src/Client.js:347:54)
2023-01-22T13:45:56.509254Z at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-01-22T13:45:56.509365Z at async getAllPosts (file:///opt/buildhome/repo/dist/entry.mjs?time=1674395155378:1946:17)
2023-01-22T13:45:56.509501Z at async getPosts (file:///opt/buildhome/repo/dist/entry.mjs?time=1674395155378:1957:20)
2023-01-22T13:45:56.509697Z at async Promise.all (index 0)
2023-01-22T13:45:56.509841Z at async file:///opt/buildhome/repo/dist/entry.mjs?time=1674395155378:2615:53
2023-01-22T13:45:56.510001Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/runtime/server/render/page.js:89:30)
2023-01-22T13:45:56.510115Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/core/render/core.js:86:20)
2023-01-22T13:45:56.510227Z at async generatePath (file:///opt/buildhome/repo/node_modules/astro/dist/core/build/generate.js:285:22)
2023-01-22T13:45:56.510343Z
2023-01-22T13:45:56.555499Z Failed: build command exited with code: 1
2023-01-22T13:45:57.474402Z Failed: an internal error occurred

from astro-notion-blog.

otoyo avatar otoyo commented on September 3, 2024

Could you share the following information to investigate?

  1. URL of your Notion database which can be retrieved from "Share" in the menu
  2. Screenshot of the page https://www.notion.so/my-integrations
  3. Screenshot of the "Cennections" section in the menu of your Notion database
  4. "Environment variables" page of your Cloudflare Pages project

3 is like fllowing:
image

from astro-notion-blog.

thamizhnation avatar thamizhnation commented on September 3, 2024
  1. https://factual-zinnia-8ad.notion.site/3efde9156ec749b1aa191fa8d99deee2?v=63156ec748704bf9b55e33eeaaac0c5e

image

image

from astro-notion-blog.

otoyo avatar otoyo commented on September 3, 2024

Thanks for giving information.

Your secret tokens were visible so I deleted your last screenshot. Please reissue your secret token on the Notion integration page for the security.

You seem to make a mistake to retrieve a database ID.
Take a look at the following screenshot of README.

image

You use v= value as DATABASE_ID so please use ahead string.

from astro-notion-blog.

thamizhnation avatar thamizhnation commented on September 3, 2024

thank you very much it worked!!

Had issue when used blocks like video upload, sub pages ..

from astro-notion-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.