The database id and notion integrantion token are correct.
@notionhq/client warn: request fail {
code: 'validation_error',
message: 'body failed validation. Fix one:\n' +
'body.properties.id.title should be defined, instead was `undefined`.\n' +
'body.properties.id.rich_text should be defined, instead was `undefined`.\n' +
'body.properties.id.number should be a number or `null`, instead was `"30433455"`.\n' +
'body.properties.id.url should be defined, instead was `undefined`.\n' +
'body.properties.id.select should be defined, instead was `undefined`.\n' +
'body.properties.id.multi_select should be defined, instead was `undefined`.\n' +
'body.properties.id.people should be defined, instead was `undefined`.\n' +
'body.properties.id.email should be defined, instead was `undefined`.\n' +
'body.properties.id.phone_number should be defined, instead was `undefined`.\n' +
'body.properties.id.date should be defined, instead was `undefined`.\n' +
'body.properties.id.checkbox should be defined, instead was `undefined`.\n' +
'body.properties.id.relation should be defined, instead was `undefined`.\n' +
'body.properties.id.files should be defined, instead was `undefined`.\n' +
'body.properties.id.status should be defined, instead was `undefined`.\n' +
'body.properties.title.id should be defined, instead was `undefined`.\n' +
'body.properties.title.name should be defined, instead was `undefined`.\n' +
'body.properties.title.start should be defined, instead was `undefined`.'
}
/snapshot/drone-doumark/node_modules/@notionhq/client/build/src/errors.js:162
return new APIResponseError({
^
APIResponseError: body failed validation. Fix one:
body.properties.id.title should be defined, instead was `undefined`.
body.properties.id.rich_text should be defined, instead was `undefined`.
body.properties.id.number should be a number or `null`, instead was `"30433455"`.
body.properties.id.url should be defined, instead was `undefined`.
body.properties.id.select should be defined, instead was `undefined`.
body.properties.id.multi_select should be defined, instead was `undefined`.
body.properties.id.people should be defined, instead was `undefined`.
body.properties.id.email should be defined, instead was `undefined`.
body.properties.id.phone_number should be defined, instead was `undefined`.
body.properties.id.date should be defined, instead was `undefined`.
body.properties.id.checkbox should be defined, instead was `undefined`.
body.properties.id.relation should be defined, instead was `undefined`.
body.properties.id.files should be defined, instead was `undefined`.
body.properties.id.status should be defined, instead was `undefined`.
body.properties.title.id should be defined, instead was `undefined`.
body.properties.title.name should be defined, instead was `undefined`.
body.properties.title.start should be defined, instead was `undefined`.
at buildRequestError (/snapshot/drone-doumark/node_modules/@notionhq/client/build/src/errors.js:162:16)
at Client.request (/snapshot/drone-doumark/node_modules/@notionhq/client/build/src/Client.js:304:54)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async NotionStore.set (/snapshot/drone-doumark/src/store/notion.js)
at async exec (/snapshot/drone-doumark/src/plugin.js) {
code: 'validation_error',
status: 400,
headers: Headers {
[Symbol(map)]: [Object: null prototype] {
date: [ 'Sat, 22 Jul 2023 19:36:03 GMT' ],
'content-type': [ 'application/json; charset=utf-8' ],
'transfer-encoding': [ 'chunked' ],
connection: [ 'close' ],
'x-powered-by': [ 'Express' ],
etag: [ 'W/"538-B+r9PT+5bLSUBLrM9I+WlZ/Jetc"' ],
vary: [ 'Accept-Encoding' ],
'content-encoding': [ 'gzip' ],
'cf-cache-status': [ 'DYNAMIC' ],
'set-cookie': [
'__cf_bm=n5niPrEE00_RYXhuKTmf8S18bBeuDRqryl23v3B4Paw-1690054563-0-ATN28XEhSXy++SK4BEybTjmrCG/2SoI6fl3p3XrsOTFLkXHMjChq0h3nRsAc6jOhvA8ElFBCwaeLXyrUlnPVRqI=; path=/; expires=Sat, 22-Jul-23 20:06:03 GMT; domain=.notion.com; HttpOnly; Secure; SameSite=None'
],
server: [ 'cloudflare' ],
'cf-ray': [ '7eae2[15](https://github.com/eallion/eallion.com/actions/runs/5632390673/job/15260293179#step:6:16)ebcf50bfb-DFW' ]
}
},
body: '{"object":"error","status":400,"code":"validation_error","message":"body failed validation. Fix one:\\nbody.properties.id.title should be defined, instead was `undefined`.\\nbody.properties.id.rich_text should be defined, instead was `undefined`.\\nbody.properties.id.number should be a number or `null`, instead was `\\"[30](https://github.com/eallion/eallion.com/actions/runs/5632390673/job/15260293179#step:6:31)4[33](https://github.com/eallion/eallion.com/actions/runs/5632390673/job/15260293179#step:6:34)[45](https://github.com/eallion/eallion.com/actions/runs/5632390673/job/15260293179#step:6:46)5\\"`.\\nbody.properties.id.url should be defined, instead was `undefined`.\\nbody.properties.id.select should be defined, instead was `undefined`.\\nbody.properties.id.multi_select should be defined, instead was `undefined`.\\nbody.properties.id.people should be defined, instead was `undefined`.\\nbody.properties.id.email should be defined, instead was `undefined`.\\nbody.properties.id.phone_number should be defined, instead was `undefined`.\\nbody.properties.id.date should be defined, instead was `undefined`.\\nbody.properties.id.checkbox should be defined, instead was `undefined`.\\nbody.properties.id.relation should be defined, instead was `undefined`.\\nbody.properties.id.files should be defined, instead was `undefined`.\\nbody.properties.id.status should be defined, instead was `undefined`.\\nbody.properties.title.id should be defined, instead was `undefined`.\\nbody.properties.title.name should be defined, instead was `undefined`.\\nbody.properties.title.start should be defined, instead was `undefined`."}'
}