airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
15.5k stars 3.99k forks source link

[connector-builder] Record Selector doesn't return result #37566

Open tanyaaae12 opened 4 months ago

tanyaaae12 commented 4 months ago

Connector Name

Source - Builder

Connector Version

0

What step the error happened?

Configuring a new connector

Relevant information

  1. Open the Builder and create a new custom connector (ex. I used https://api.github.com)
  2. Create a new stream (ex. GET /repos/airbytehq/airbyte/issues )
  3. Enter in "labels" to the Record Selector
  4. Click "Test"

Expected: array of 4 labels is returned Observed: "No records could be extracted from responses, make sure the record selector is set correctly."

Passing array of 4 labels: Screenshot 2024-04-25 at 10 38 43 AM

No records found: Screenshot 2024-04-25 at 10 38 57 AM

Response body:

{
  "status": 200,
  "body": [
    {
      "url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565",
      "repository_url": "https://api.github.com/repos/airbytehq/airbyte",
      "labels_url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565/labels{/name}",
      "comments_url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565/comments",
      "events_url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565/events",
      "html_url": "https://github.com/airbytehq/airbyte/pull/37565",
      "id": 2262722692,
      "node_id": "PR_kwDOEN7yYc5trern",
      "number": 37565,
      "title": "Bump pydantic from 1.10.8 to 1.10.13 in /airbyte-integrations/connectors/destination-langchain",
      "user": {
        "login": "dependabot[bot]",
        "id": 49699333,
        "node_id": "MDM6Qm90NDk2OTkzMzM=",
        "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/dependabot%5Bbot%5D",
        "html_url": "https://github.com/apps/dependabot",
        "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "labels": [
        {
          "id": 2303826021,
          "node_id": "MDU6TGFiZWwyMzAzODI2MDIx",
          "url": "https://api.github.com/repos/airbytehq/airbyte/labels/area/connectors",
          "name": "area/connectors",
          "color": "f9d0c4",
          "default": false,
          "description": "Connector related issues"
        },
        {
          "id": 2573549753,
          "node_id": "MDU6TGFiZWwyNTczNTQ5NzUz",
          "url": "https://api.github.com/repos/airbytehq/airbyte/labels/dependencies",
          "name": "dependencies",
          "color": "0366d6",
          "default": false,
          "description": "Pull requests that update a dependency file"
        },
        {
          "id": 2846105503,
          "node_id": "MDU6TGFiZWwyODQ2MTA1NTAz",
          "url": "https://api.github.com/repos/airbytehq/airbyte/labels/python",
          "name": "python",
          "color": "2b67c6",
          "default": false,
          "description": "Pull requests that update Python code"
        },
        {
          "id": 5513145602,
          "node_id": "LA_kwDOEN7yYc8AAAABSJvtAg",
          "url": "https://api.github.com/repos/airbytehq/airbyte/labels/connectors/destination/langchain",
          "name": "connectors/destination/langchain",
          "color": "ededed",
          "default": false,
          "description": null
        }
      ],
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": [],
      "milestone": null,
      "comments": 1,
      "created_at": "2024-04-25T05:48:37Z",
      "updated_at": "2024-04-25T05:48:54Z",
      "closed_at": null,
      "author_association": "CONTRIBUTOR",
      "active_lock_reason": null,
      "draft": false,
      "pull_request": {
        "url": "https://api.github.com/repos/airbytehq/airbyte/pulls/37565",
        "html_url": "https://github.com/airbytehq/airbyte/pull/37565",
        "diff_url": "https://github.com/airbytehq/airbyte/pull/37565.diff",
        "patch_url": "https://github.com/airbytehq/airbyte/pull/37565.patch",
        "merged_at": null
      },
      "body": "Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.8 to 1.10.13.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/pydantic/pydantic/releases\">pydantic's releases</a>.</em></p>\n<blockquote>\n<h2>V1.10.13 2023-09-27</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Update pip commands to install 1.10 by <a href=\"https://github.com/chbndrhnns\"><code>@​chbndrhnns</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6930\">pydantic/pydantic#6930</a></li>\n<li>Make the v1 mypy plugin work with both v1 and v2 by <a href=\"https://github.com/dmontagu\"><code>@​dmontagu</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6920\">pydantic/pydantic#6920</a></li>\n<li>[Backport] Add max length check to <code>validate_email</code> by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/7673\">pydantic/pydantic#7673</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/pydantic/pydantic/compare/v1.10.12...v1.10.13\">https://github.com/pydantic/pydantic/compare/v1.10.12...v1.10.13</a></p>\n<h2>V1.10.12</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Deque's maxlen property dropped on V1 validation by <a href=\"https://github.com/maciekglowka\"><code>@​maciekglowka</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6586\">pydantic/pydantic#6586</a></li>\n<li>Prepare release 1.10.12 by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6825\">pydantic/pydantic#6825</a></li>\n</ul>\n<h2>New Contributors</h2>\n<ul>\n<li><a href=\"https://github.com/maciekglowka\"><code>@​maciekglowka</code></a> made their first contribution in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6586\">pydantic/pydantic#6586</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/pydantic/pydantic/compare/v1.10.11...v1.10.12\">https://github.com/pydantic/pydantic/compare/v1.10.11...v1.10.12</a></p>\n<h2>V1.10.11</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Fix import of create_model in tools.py by <a href=\"https://github.com/SharathHuddar\"><code>@​SharathHuddar</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6364\">pydantic/pydantic#6364</a></li>\n<li>Prepare for 1.10.11 by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6420\">pydantic/pydantic#6420</a></li>\n</ul>\n<h2>New Contributors</h2>\n<ul>\n<li><a href=\"https://github.com/SharathHuddar\"><code>@​SharathHuddar</code></a> made their first contribution in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6364\">pydantic/pydantic#6364</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/pydantic/pydantic/compare/v1.10.10...v1.10.11\">https://github.com/pydantic/pydantic/compare/v1.10.10...v1.10.11</a></p>\n<h2>V1.10.10</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Fix racy doctests by <a href=\"https://github.com/K900\"><code>@​K900</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6103\">pydantic/pydantic#6103</a></li>\n<li>✅ Update FastAPI test script by <a href=\"https://github.com/Kludex\"><code>@​Kludex</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6117\">pydantic/pydantic#6117</a></li>\n<li>add roadmap to annoucement by <a href=\"https://github.com/samuelcolvin\"><code>@​samuelcolvin</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6120\">pydantic/pydantic#6120</a></li>\n<li>Fixed literal validator errors for unhashable values by <a href=\"https://github.com/markus1978\"><code>@​markus1978</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6194\">pydantic/pydantic#6194</a></li>\n<li>Bug fix for forward refs in generics by <a href=\"https://github.com/mark-todd\"><code>@​mark-todd</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6157\">pydantic/pydantic#6157</a></li>\n<li>Add Pydantic <code>Json</code> field support to settings management by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6250\">pydantic/pydantic#6250</a></li>\n</ul>\n<h2>New Contributors</h2>\n<ul>\n<li><a href=\"https://github.com/K900\"><code>@​K900</code></a> made their first contribution in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6103\">pydantic/pydantic#6103</a></li>\n<li><a href=\"https://github.com/markus1978\"><code>@​markus1978</code></a> made their first contribution in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6194\">pydantic/pydantic#6194</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/pydantic/pydantic/compare/v1.10.9...v1.10.10\">https://github.com/pydantic/pydantic/compare/v1.10.9...v1.10.10</a></p>\n<h2>V1.10.9</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Add Pydantic classifier by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5847\">pydantic/pydantic#5847</a></li>\n<li>📌 Use Cython &lt; v3 by <a href=\"https://github.com/lig\"><code>@​lig</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5845\">pydantic/pydantic#5845</a></li>\n<li>[cherry-pick] Fix mypy plugin for 1.4.0 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/5927\">#5927</a>) by <a href=\"https://github.com/cdce8p\"><code>@​cdce8p</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5928\">pydantic/pydantic#5928</a></li>\n<li>Add future and past date hypothesis strategies by <a href=\"https://github.com/bschoenmaeckers\"><code>@​bschoenmaeckers</code></a> in <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5850\">pydantic/pydantic#5850</a></li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/pydantic/pydantic/blob/main/HISTORY.md\">pydantic's changelog</a>.</em></p>\n<blockquote>\n<h2>v1.10.13 (2023-09-27)</h2>\n<ul>\n<li>Fix: Add max length check to <code>pydantic.validate_email</code>, <a href=\"https://redirect.github.com/pydantic/pydantic/issues/7673\">#7673</a> by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a></li>\n<li>Docs: Fix pip commands to install v1, <a href=\"https://redirect.github.com/pydantic/pydantic/issues/6930\">#6930</a> by <a href=\"https://github.com/chbndrhnns\"><code>@​chbndrhnns</code></a></li>\n</ul>\n<h2>v1.10.12 (2023-07-24)</h2>\n<ul>\n<li>Fixes the <code>maxlen</code> property being dropped on <code>deque</code> validation. Happened only if the deque item has been typed. Changes the <code>_validate_sequence_like</code> func, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6581\">#6581</a> by <a href=\"https://github.com/maciekglowka\"><code>@​maciekglowka</code></a></li>\n</ul>\n<h2>v1.10.11 (2023-07-04)</h2>\n<ul>\n<li>Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6361\">#6361</a> by <a href=\"https://github.com/SharathHuddar\"><code>@​SharathHuddar</code></a></li>\n</ul>\n<h2>v1.10.10 (2023-06-30)</h2>\n<ul>\n<li>Add Pydantic <code>Json</code> field support to settings management, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6250\">#6250</a> by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a></li>\n<li>Fixed literal validator errors for unhashable values, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6188\">#6188</a> by <a href=\"https://github.com/markus1978\"><code>@​markus1978</code></a></li>\n<li>Fixed bug with generics receiving forward refs, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6130\">#6130</a> by <a href=\"https://github.com/mark-todd\"><code>@​mark-todd</code></a></li>\n<li>Update install method of FastAPI for internal tests in CI, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/6117\">#6117</a> by <a href=\"https://github.com/Kludex\"><code>@​Kludex</code></a></li>\n</ul>\n<h2>v1.10.9 (2023-06-07)</h2>\n<ul>\n<li>Fix trailing zeros not ignored in Decimal validation, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5968\">#5968</a> by <a href=\"https://github.com/hramezani\"><code>@​hramezani</code></a></li>\n<li>Fix mypy plugin for v1.4.0, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5928\">#5928</a> by <a href=\"https://github.com/cdce8p\"><code>@​cdce8p</code></a></li>\n<li>Add future and past date hypothesis strategies, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5850\">#5850</a> by <a href=\"https://github.com/bschoenmaeckers\"><code>@​bschoenmaeckers</code></a></li>\n<li>Discourage usage of Cython 3 with Pydantic 1.x, <a href=\"https://redirect.github.com/pydantic/pydantic/pull/5845\">#5845</a> by <a href=\"https://github.com/lig\"><code>@​lig</code></a></li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/8822578619bf8d0bb754b1cf7a2a905b50240d01\"><code>8822578</code></a> Prepare release 1.10.13 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/7674\">#7674</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/59d8f38fd6220e3917c53785dbc70317d6f8e631\"><code>59d8f38</code></a> [Backport] Add max length check to <code>validate_email</code> (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/7673\">#7673</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/69b92b547f7f268f7914d3346b57c59a0d550e42\"><code>69b92b5</code></a> Make the v1 mypy plugin work with both v1 and v2 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6920\">#6920</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/87bf41755fe59082abf8352a2cf8c2889ee0849f\"><code>87bf417</code></a> Update pip commands to install 1.10 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6930\">#6930</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/d9c2af3a701ca982945a590de1a1da98b3fb4003\"><code>d9c2af3</code></a> Prepare release 1.10.12 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6825\">#6825</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/2aaddf6d692a6a467a401fae5840435c5459aa1b\"><code>2aaddf6</code></a> Deque's maxlen property dropped on V1 validation (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6586\">#6586</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/15c82d978d9e3b3893f00982b9e0c5c8d5c7821d\"><code>15c82d9</code></a> Prepare for 1.10.11 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6420\">#6420</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/8750c37a553f5107562722605369fcd2cb7cdaa3\"><code>8750c37</code></a> no longer tag docs release as latest</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/2c0e2a6d8a961ce320915302caadbb31cc565983\"><code>2c0e2a6</code></a> Fix import of create_model in tools.py (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6364\">#6364</a>)</li>\n<li><a href=\"https://github.com/pydantic/pydantic/commit/0e8a387d6752dd859676da53298601ccae6a23a7\"><code>0e8a387</code></a> Prepare for 1.10.10 (<a href=\"https://redirect.github.com/pydantic/pydantic/issues/6308\">#6308</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/pydantic/pydantic/compare/v1.10.8...v1.10.13\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pydantic&package-manager=pip&previous-version=1.10.8&new-version=1.10.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/airbytehq/airbyte/network/alerts).\n\n</details>",
      "reactions": {
        "url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "timeline_url": "https://api.github.com/repos/airbytehq/airbyte/issues/37565/timeline",
      "performed_via_github_app": null,
      "state_reason": null
    }
  ],
  "headers": {
    "Server": "GitHub.com",
    "Date": "Thu, 25 Apr 2024 07:38:52 GMT",
    "Content-Type": "application/json; charset=utf-8",
    "Transfer-Encoding": "chunked",
    "Cache-Control": "private, max-age=60, s-maxage=60",
    "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With",
    "ETag": "W/\"95f53824dad528249ef8d780e570c25fc9c030011dd9d64d9fa6e30a3504069b\"",
    "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, copilot, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
    "X-Accepted-OAuth-Scopes": "repo",
    "github-authentication-token-expiration": "2024-05-20 17:01:56 UTC",
    "X-GitHub-Media-Type": "github.v3; format=json",
    "Link": "<https://api.github.com/repositories/283046497/issues?per_page=1&page=2>; rel=\"next\", <https://api.github.com/repositories/283046497/issues?per_page=1&page=2392>; rel=\"last\"",
    "x-github-api-version-selected": "2022-11-28",
    "X-RateLimit-Limit": "5000",
    "X-RateLimit-Remaining": "4989",
    "X-RateLimit-Reset": "1714032673",
    "X-RateLimit-Used": "11",
    "X-RateLimit-Resource": "core",
    "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
    "Access-Control-Allow-Origin": "*",
    "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
    "X-Frame-Options": "deny",
    "X-Content-Type-Options": "nosniff",
    "X-XSS-Protection": "0",
    "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
    "Content-Security-Policy": "default-src 'none'",
    "Content-Encoding": "gzip",
    "X-GitHub-Request-Id": "8D00:38A09:3AF78FC:5BEEA95:662A088C"
  }
}

Relevant log output

No response

Contribute

BrentMcFerrin commented 2 months ago

I think you are not using the selector correctly. You should use something like "body","labels" in the selector because labels is nested.

From the docs: https://docs.airbyte.com/connector-development/config-based/understanding-the-yaml-file/record-selector#selecting-an-inner-field