Skip to content

【20251008站点无数据、部署异常】日志显示 notion queryCollection 请求返回 530 #3626

@tianyn1990

Description

@tianyn1990

描述bug

  • 网站无法显示文章
  • 后台日志显示 notion queryCollection 请求返回 530

期望的正常结果
网站正常显示文章。

复现步骤
之前一直是好的,今天突然出现问题。

环境

  • 【必填】NotionNext版本 main 分支 (2025/10/06)
  • 【必填】主题 gitbook
  • 【必填】部署方案 阿里云ecs + docker
  • 【可选】操作系统: ubuntu
  • 【可选】浏览器 chrome

补充说明
后台日志

notionnext  | NotionAPI collectionQuery error xxx Request failed with status code 530: POST https://www.notion.so/api/v3/queryCollection
notionnext  | HTTPError: Request failed with status code 530: POST https://www.notion.so/api/v3/queryCollection
notionnext  |     at function_ (file:///app/node_modules/ky/distribution/core/Ky.js:31:29)
notionnext  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
notionnext  |     at async result.<computed> [as json] (file:///app/node_modules/ky/distribution/core/Ky.js:72:34)
notionnext  |     at async pMap.concurrency.concurrency (file:///app/node_modules/notion-client/build/index.js:86:36)
notionnext  |     at async file:///app/node_modules/p-map/index.js:121:20 {
notionnext  |   response: Response {
notionnext  |     status: 530,
notionnext  |     statusText: '',
notionnext  |     headers: Headers {
notionnext  |       date: 'Wed, 08 Oct 2025 04:20:12 GMT',
notionnext  |       'content-type': 'text/html; charset=UTF-8',
notionnext  |       'transfer-encoding': 'chunked',
notionnext  |       connection: 'keep-alive',
notionnext  |       'cf-ray': '98b2d829896fcf2e-SJC',
notionnext  |       'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0',
notionnext  |       expires: 'Thu, 01 Jan 1970 00:00:01 GMT',
notionnext  |       'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
notionnext  |       'referrer-policy': 'same-origin',
notionnext  |       'x-content-type-options': 'nosniff',
notionnext  |       'x-frame-options': 'SAMEORIGIN',
notionnext  |       'set-cookie': '__cf_bm=i1tQa23Neuj15Y1QQNPckiGS_L6bZ50z0QTPhSmkvVY-1759897212-1.0.1.1-WSF2Uw0WO5yAj9iuZlnPhx.BQjlbrCH1HKx1r8fvASf3ICrhgLVZS_zbcqzEhApiwUgtW3x4lm5x7YkDRc2FMSJ5ASlt.o_yfVQBkQhJPZU; path=/; expires=Wed, 08-Oct-25 04:50:12 GMT; domain=.notion.so; HttpOnly; Secure; SameSite=None, _cfuvid=ioF66EmAPyWMn0BO7EqOzLYurA0..F1xc4sjTNC0a7Y-1759897212514-0.0.1.1-604800000; path=/; domain=.notion.so; HttpOnly; Secure; SameSite=None',
notionnext  |       vary: 'Accept-Encoding',
notionnext  |       server: 'cloudflare',
notionnext  |       'alt-svc': 'h3=":443"; ma=86400'
notionnext  |     },
notionnext  |     body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true },
notionnext  |     bodyUsed: false,
notionnext  |     ok: false,
notionnext  |     redirected: false,
notionnext  |     type: 'basic',
notionnext  |     url: 'https://www.notion.so/api/v3/queryCollection'
notionnext  |   },
notionnext  |   request: Request {
notionnext  |     method: 'POST',
notionnext  |     url: 'https://www.notion.so/api/v3/queryCollection',
notionnext  |     headers: Headers { 'content-type': 'application/json', accept: 'application/json' },
notionnext  |     destination: '',
notionnext  |     referrer: 'about:client',
notionnext  |     referrerPolicy: '',
notionnext  |     mode: 'cors',
notionnext  |     credentials: 'same-origin',
notionnext  |     cache: 'default',
notionnext  |     redirect: 'follow',
notionnext  |     integrity: '',
notionnext  |     keepalive: false,
notionnext  |     isReloadNavigation: false,
notionnext  |     isHistoryNavigation: false,
notionnext  |     signal: AbortSignal { aborted: false }
notionnext  |   },
notionnext  |   options: {
notionnext  |     mode: 'cors',
notionnext  |     hooks: {
notionnext  |       beforeRequest: [Array],
notionnext  |       beforeRetry: [],
notionnext  |       afterResponse: [],
notionnext  |       beforeError: []
notionnext  |     },
notionnext  |     json: {
notionnext  |       collection: [Object],
notionnext  |       collectionView: [Object],
notionnext  |       loader: [Object]
notionnext  |     },
notionnext  |     headers: Headers { 'content-type': 'application/json' },
notionnext  |     method: 'POST',
notionnext  |     prefixUrl: '',
notionnext  |     retry: {
notionnext  |       limit: 2,
notionnext  |       methods: [Array],
notionnext  |       statusCodes: [Array],
notionnext  |       afterStatusCodes: [Array],
notionnext  |       maxRetryAfter: Infinity,
notionnext  |       backoffLimit: Infinity,
notionnext  |       delay: [Function: delay]
notionnext  |     },
notionnext  |     throwHttpErrors: true,
notionnext  |     timeout: 10000,
notionnext  |     fetch: [Function: bound fetch],
notionnext  |     signal: AbortSignal { aborted: false },
notionnext  |     duplex: 'half',
notionnext  |     body: '{"collection":{"id":"2831ba6e-6fe2-81ab-a335-000bac4f7b7a"},"collectionView":{"id":"2831ba6e-6fe2-81da-8d6f-000cbe6f8a2a"},"loader":{"type":"reducer","reducers":{"board_columns":{"type":"groups","groupBy":{"sort":{"type":"manual"},"type":"select","property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee"},"groupSortPreference":[{"type":"select","value":"Draft"},{"type":"select","value":"Invisible"},{"type":"select","value":"Published"},{"type":"select"}],"limit":9999},"board:select:Draft":{"type":"aggregation","aggregation":{"aggregator":"count"},"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Draft"}}}]}},"results:select:Draft":{"type":"results","limit":9999,"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Draft"}}}]}},"board:select:Invisible":{"type":"aggregation","aggregation":{"aggregator":"count"},"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Invisible"}}}]}},"results:select:Invisible":{"type":"results","limit":9999,"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Invisible"}}}]}},"board:select:Published":{"type":"aggregation","aggregation":{"aggregator":"count"},"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Published"}}}]}},"results:select:Published":{"type":"results","limit":9999,"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"enum_is","value":{"type":"exact","value":"Published"}}}]}},"board:select:uncategorized":{"type":"aggregation","aggregation":{"aggregator":"count"},"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"is_empty"}}]}},"results:select:uncategorized":{"type":"results","limit":9999,"filter":{"operator":"and","filters":[{"property":"f211bdc0-ee00-4186-9a7d-f68c055ec2ee","filter":{"operator":"is_empty"}}]}}},"searchQuery":"","userTimeZone":"UTC","filter":{"filters":[],"operator":"and"}}}'
notionnext  |   }
notionnext  | }

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency filegood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions