-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[BUG] returnFieldsByFieldId prop not used in airtable_oauth-get-record-or-create #16317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
const record = await pd.makeProxyRequest(
{
searchParams: {
account_id: airtableAccount.account_id,
external_user_id: externalUserId,
},
},
{
url: `https://api.airtable.com/v0/${selected_base}/${selected_table}/${recordId}?returnFieldsByFieldId=true`,
options: {
method: "GET",
},
},
); works as expected |
Hi @MartinMalinda returnFieldsByFieldId option defined in get-record-or-create actions wasn't being forwarded to the Airtable API. Also I updated getRecord to use a direct API request with params: { returnFieldsByFieldId: true } instead of relying on .find(). Also added returnFieldsByFieldId to get-record.mjs |
Action https://pipedream.com/apps/airtable-oauth/actions/get-record does not have prop
returnFieldsByFieldId
so I tried to use https://pipedream.com/apps/airtable-oauth/actions/get-record-or-create instead, but it seems like there it seems to be used only for the potential creation, not when the record is fetched, possibly because the underlyingcommonActions.getRecord
does not pass it.related: #9803
The text was updated successfully, but these errors were encountered: