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
Once the selected files have been ingested successfully, delete one of the synced files from Notion UI.
Use "Sync Files" option.
Notice that even after sync is completed successfully , we still see the delete file still being present in the knowledge file list.
I am also able to get chat and get responses relating to the knowledge file.
Expected Behavior:
Deleted files should be deleted from knowledge files on sync.
Errors seen in the server logs when syncing:
INFO[1020] Handling request: method POST, path /run id=3aef267a-186c-4f7c-aafc-6312ada83364
ERRO[1020] sql query error affected=0 caller="/Users/sangeethahariharan/go/pkg/mod/github.com/acorn-io/[email protected]/pkg/db/db.go:686" elapsed="119.958µs" error="UNIQUE constraint failed: thread.previous" sql="INSERT INTO `thread` (`kind`,`version`,`api_group`,`name`,`namespace`,`uid`,`generation`,`previous`,`create`,`created`,`updated`,`deleted`,`removed`,`garbage`,`latest`,`metadata`,`data`,`status`,`partition_id`) VALUES (\"Thread\",\"v1\",\"otto.gptscript.ai\",\"t1b52vg\",\"default\",\"749f70c8-47f4-479f-af3a-788e7efe443e\",1,1685,false,\"2024-10-16 11:24:23.698\",\"2024-10-16 11:24:23.733\",NULL,NULL,false,true,\"{\"\"generateName\"\":\"\"t1\"\",\"\"managedFields\"\":[{\"\"apiVersion\"\":\"\"otto.gptscript.ai/v1\"\",\"\"fieldsType\"\":\"\"FieldsV1\"\",\"\"fieldsV1\"\":{\"\"f:metadata\"\":{\"\"f:generateName\"\":{}},\"\"f:spec\"\":{\"\"f:remoteKnowledgeSourceName\"\":{},\"\"f:workspaceID\"\":{}}},\"\"manager\"\":\"\"otto\"\",\"\"operation\"\":\"\"Update\"\",\"\"time\"\":\"\"2024-10-16T18:24:23Z\"\"}]}\",\"{\"\"spec\"\":{\"\"manifest\"\":{},\"\"remoteKnowledgeSourceName\"\":\"\"rks1sd6jx\"\",\"\"workspaceID\"\":\"\"directory:///Users/sangeethahariharan/Library/Application Support/otto/workspaces/5cd2aa7a-5b40-4ee0-a81d-f81c055bca90\"\"}}\",\"{\"\"knowledgeSetNames\"\":[\"\"ks1bf7fw\"\"]}\",\"\") RETURNING `id`"
@notionhq/client warn: request fail {
code: 'object_not_found',
message: 'Could not find block with ID: 121b081d-a8af-80cc-8312-ff16a055141f. Make sure the relevant pages and databases are shared with your integration.'
}
APIResponseError: Could not find block with ID: 121b081d-a8af-80cc-8312-ff16a055141f. Make sure the relevant pages and databases are shared with your integration.
at buildRequestError (/Users/sangeethahariharan/Library/Caches/gptscript/repos/cd5fee69c2f7eb25246c622da51314736f832f09/knowledge/data-sources/notion/tool.gpt/node20/knowledge/data-sources/notion/node_modules/@notionhq/client/src/errors.ts:240:12)
at Client.request (/Users/sangeethahariharan/Library/Caches/gptscript/repos/cd5fee69c2f7eb25246c622da51314736f832f09/knowledge/data-sources/notion/tool.gpt/node20/knowledge/data-sources/notion/node_modules/@notionhq/client/src/Client.ts:184:32)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'object_not_found',
status: 404,
headers: Headers {
[Symbol(map)]: [Object: null prototype] {
date: [Array],
'content-type': [Array],
'transfer-encoding': [Array],
connection: [Array],
'cf-ray': [Array],
'cf-cache-status': [Array],
etag: [Array],
'strict-transport-security': [Array],
vary: [Array],
'content-security-policy': [Array],
'referrer-policy': [Array],
'x-content-type-options': [Array],
'x-dns-prefetch-control': [Array],
'x-download-options': [Array],
'x-frame-options': [Array],
'x-notion-request-id': [Array],
'x-permitted-cross-domain-policies': [Array],
'x-xss-protection': [Array],
'set-cookie': [Array],
server: [Array],
'content-encoding': [Array]
}
},
body: '{"object":"error","status":404,"code":"object_not_found","message":"Could not find block with ID: 121b081d-a8af-80cc-8312-ff16a055141f. Make sure the relevant pages and databases are shared with your integration.","request_id":"1ac7a9ce-38ad-4ecc-b577-17c4dce9ea83"}'
}
The text was updated successfully, but these errors were encountered:
Steps to reproduce the problem:
Notice that even after sync is completed successfully , we still see the delete file still being present in the knowledge file list.
I am also able to get chat and get responses relating to the knowledge file.
Expected Behavior:
Deleted files should be deleted from knowledge files on sync.
Errors seen in the server logs when syncing:
The text was updated successfully, but these errors were encountered: