<@U04SE163WC8> I'm struggling with the record sele...
# ask-ai
s
@kapa.ai I'm struggling with the record selector in the connector builder. My response looks like this:
Copy code
{
  "status": 200,
  "body": {
    "elements": [
      {
        "href": "<https://www.clover.com/v3/merchants/RMC1BKTZ0YVR1/orders/PF2JV9Y2DA3TC>",
        "id": "PF2JV9Y2DA3TC",
        "currency": "USD",
        "customers": {
          "elements": [
            {
              "href": "<https://www.clover.com/v3/merchants/RMC1BKTZ0YVR1/customers/E0MQCSGBHQP3G>",
but when I do
elements
or
body,elements
, I don't get any records
u
Based on the response structure you provided, it seems like the records you want to extract are nested under
body
and then
elements
. Therefore, you should use
body,elements
as your record selector. However, you mentioned that you're not getting any records with this selector. There could be a few reasons for this: 1. The API response might not always contain records under
body,elements
. You can verify this by checking the API documentation or testing the API endpoint manually. 2. There might be an issue with the connector builder. There's an [open issue](https://github.com/airbytehq/airbyte/issues/37566) on the Airbyte GitHub where a user reported a similar problem. You might want to check this issue for any updates or workarounds. 3. There might be a mistake in the way you're entering the record selector in the connector builder. According to the [Airbyte documentation](https://docs.airbyte.com/connector-development/connector-builder-ui/record-processing#record-selection), the record selector should be a comma-separated list of keys that form the path to the records in the response. If you're still having trouble, I recommend reaching out to the Airbyte community on [GitHub](https://github.com/airbytehq/airbyte) or [Slack](https://slack.airbyte.io/) for further assistance.