Hi! im trying to use the `tap-airtable` extractor ...
# troubleshooting
j
Hi! im trying to use the
tap-airtable
extractor using an env variable for the
select
but is not recognise, someone know how can i do this??
c
This looks like a shell quoting problem. Where do you define
TAP_AIRTABLE__SELECT
? In
.env
?
j
i didnt i define the select like this
Copy code
extractors:
      - name: tap-airtable
        select:
          - $AIRTABLE_VIEW
p
@jenn_leon I think you might need to wrap that in brackets like
- ${AIRTABLE_VIEW}
j
@pat_nadolny didnt work anxious
e
iirc env vars inside the
select
array are not expanded. if there’s a shell script or similar already setting
AIRTABLE_VIEW
, then it might be worth assigning a value to the
TAP_AIRTABLE__SELECT
env var:
Copy code
export AIRTABLE_VIEW=...
export TAP_AIRTABLE__SELECT="[\"$AIRTABLE_VIEW\"]"
j
@edgar_ramirez_mondragon This works thank u !!
e
Awesome! Glad that worked 😁