Skip to content

NotionAPI collectionQuery error #648

@busyhe

Description

@busyhe
NotionAPI collectionQuery error {
  pageId: '192bba2b-2ae7-806b-b290-c70c06dc0447',
  collectionId: '192bba2b-2ae7-8097-b8a2-000b90ee5769',
  collectionViewId: '192bba2b-2ae7-80c4-99e4-000c52e7df77'
} Request failed with status code 406 Not Acceptable: POST https://www.notion.so/api/v3/queryCollection?src=initial_load
Error [HTTPError]: Request failed with status code 406 Not Acceptable: POST https://www.notion.so/api/v3/queryCollection?src=initial_load
    at <unknown> (HTTPError: Request failed with status code 406 Not Acceptable: POST https://www.notion.so/api/v3/queryCollection?src=initial_load) {
  response: Response {
    status: 406,
    statusText: 'Not Acceptable',
    headers: Headers {
      date: 'Thu, 10 Jul 2025 05:43:39 GMT',
      'content-type': 'application/json; charset=utf-8',
      'content-length': '223',
      connection: 'keep-alive',
      'cf-ray': '95cdbea9ce15cf69-SJC',
      'cf-cache-status': 'DYNAMIC',
      etag: 'W/"df-lf9jInhWQCV4RvrjlLpwX3KHjzw"',
      'set-cookie': 'notion_browser_id=70d42af6-0a0e-4284-aa92-d5263b66e708; Domain=www.notion.so; Path=/; Expires=Fri, 10 Jul 2026 05:43:39 GMT; Secure, device_id=22cd872b-594c-8162-91bd-003be0ba59e1; Domain=www.notion.so; Path=/; Expires=Fri, 10 Jul 2026 05:43:39 GMT; HttpOnly; Secure, notion_check_cookie_consent=false; Domain=www.notion.so; Path=/; Expires=Fri, 11 Jul 2025 05:43:39 GMT; Secure, __cf_bm=4MlE3WvrHKw0vcx_eyPpeOlKVIBe.nnyybQmHxKW3ko-1752126219-1.0.1.1-COU8ewxURDyID47TqCFBIqNewBj5Bu65Sa.lMhKs.IsnjdTB50OJrC66sSUuSsv5cNLuZiB6KTIsqVrkr3hlqGl2K_0HCpIZGeGzfIMi2UI; path=/; expires=Thu, 10-Jul-25 06:13:39 GMT; domain=.notion.so; HttpOnly; Secure; SameSite=None, _cfuvid=oY_Ondo0rj3ois1MT5UkSUaMLy3jSjR4X.K088qxWLg-1752126219890-0.0.1.1-604800000; path=/; domain=.notion.so; HttpOnly; Secure; SameSite=None',
      'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
      vary: 'Accept-Encoding',
      'content-security-policy': "default-src 'none'",
      'referrer-policy': 'strict-origin-when-cross-origin',
      'server-timing': 'r;dur=824',
      'x-content-type-options': 'nosniff',
      'x-dns-prefetch-control': 'off',
      'x-download-options': 'noopen',
      'x-frame-options': 'SAMEORIGIN',
      'x-notion-request-id': 'f25da10f-f7fa-4579-ba78-6325ce1783bc',
      'x-permitted-cross-domain-policies': 'none',
      'x-xss-protection': '0',
      server: 'cloudflare',
      'alt-svc': 'h3=":443"; ma=86400'
    },
    body: undefined,
    bodyUsed: false,
    ok: false,
    redirected: false,
    type: 'basic',
    url: 'https://www.notion.so/api/v3/queryCollection?src=initial_load'
  },
  request: Request {
    method: 'POST',
    url: 'https://www.notion.so/api/v3/queryCollection?src=initial_load',
    headers: Headers { 'content-type': 'application/json' },
    destination: '',
    referrer: 'about:client',
    referrerPolicy: '',
    mode: 'no-cors',
    credentials: 'same-origin',
    cache: 'default',
    redirect: 'follow',
    integrity: '',
    keepalive: false,
    isReloadNavigation: false,
    isHistoryNavigation: false,
    signal: [AbortSignal]
  },
  options: [Object]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions