Need development and API help? Ask your questions here!
Recently active
I am trying to create a google App Script, which contains columns mapping to an Airtable table. I would like to sync one-way from the Google Sheet, into Airtable. The first column is the primary key, and is used to match. If the record exists in Airtable, it will update. Else, it will create a new row.I am trying to execute the below function, to find out if the record exists already by primary key value (Note - NOT record ID). function upsertAirtableRecord(apiKey, baseId, tableName, primaryKey, fields, primaryKeyFieldName) { var url = 'https://api.airtable.com/v0/' + baseId + '/' + encodeURIComponent(tableName); // Search for the record to update var searchUrl = url + '?filterByFormula=(' + encodeURIComponent(`{${primaryKeyFieldName}}='${primaryKey}'`) + ')'; var options = { method: 'get', headers: { Authorization: 'Bearer ' + apiKey, }, }; This is returning an error: Exception: Request failed for https://api.airtable.com returned code
I am currently developing an integration with airtable base.It is very nice to have webhook notification from airtable api.1. How to respond properly to the notification?Once the record changes, the notification works via webhook.But it repeated more than once and I want to know how to stop it after receiving the first notification.2. How to clear payloads that already received?When the record changes with the attatchment field, there are two or more payloads for it. Here is a response data of payloads.{ "payloads": [ { "timestamp": "2025-02-05T15:24:39.621Z", "baseTransactionNumber": 300, "actionMetadata": { "source": "client", "sourceMetadata": { "user": { "id": "usre3JyKUosldgaGX", "email": "antman357357@gmail.com", "permissionLevel": "create", "name": "Ant Man", "pr
I had no idea what to call the subject for this post.....I want our company to donate £5 per 100 confirmed hours worked on site, to purchasing trees via ecologi.On the 5th of every month, I want the airtable to add up the total number of confirmed hours worked in the roster for the previous month.This number is to be divided by 100 with the result being x.x may be rounded up (optional at this stage), then the total amount is to be sent to our ecologi account using a webhook to zapier.Any leads onto how best to sum up the previous months totals please?Pro's and cons to watch out for?
Hello, With the API custom with a filterbyformula, I would like to collect all record, corresponding to my needs, from two differents fields. “Conversation?filterByFormula=%7Bexpediteur%7D%20%3D%20%27${user.email}%27” Like, in this case i would like to get all records into “expediteur” field where {user.email} corresponding. But now in my case, I would like the same but into two fields. (expediteur & destinataire) is it possible ? And how to write that ? Thanks you
I must be missing something very fundamental. I converted Airtable's sample extension into my own, and it's running beautifully over localhost:9000, displaying as an extension in my sample base, as you can see below. Everything functions when I check "simulate marketplace extension"But when I try submitting it for review, running "block submit" from the root (same place I run "block run" from) I got this:What permissions is it talking about?! What is the "requested model"? It's my own Airtable account, own workspace/base etc--and the code runs locally. What am I missing?Thanks!
Hello,I am trying to create a web app using Airtable and Softr. I have already created a fully functional application, but now I want to scale it so organizations can create their own profiles and customize them as they like without affecting other users. I am thinking of creating separate databases for all organizations and connecting them with a central database, similar to how we do it in native PostgreSQL. However, I seem to be stuck with Airtable. Can anyone help me achieve my goal?
I did a quick search and couldnt find what i am looking for so i apologize if this has been asked and answered already. I have a Word Press site using the Airpress plugin to pull data from one of my bases. Everything is working as it should but i am trying to figure how to input the airpress shortcodes into the header of my virtual pages for metatags. Has anyone been able to do this using Airpress? If not, is it possible, using the API, to build a custom template that will use airtable data for metatags? Airpress shortcodes work great in the body and so far it has done everything i need it to do except this.
I have this code that works well when filtering a field that is SIngle Line Text empName="Dummy Employee"let records = query.records.filter(record => record.getCellValue("Name") === empName); But If i want to filter a field that is a "Link to another record" field, it will not find it.let records = query.records.filter(record => record.getCellValue("Linked Name") === empName); I have a work around where I have a formula field that converts the value in the field "Linked Name" to a string, but i would like to tidy it up. Has anybody encountered such an issue? Thanks in advance
Hello Airtable Community,I am trying to upload an image via Base64 encoding using Airtable’s uploadAttachment API, but the uploaded image appears as a broken placeholder or a very tiny image instead of displaying properly.🔹 My Setup:Using Base64 encoding instead of a direct file URL.Posting via API to Airtable’s /uploadAttachment endpoint.The request is successfully received by Airtable, but the image does not display properly.🔹 Payload I’m Sending:{ "contentType": "image/jpeg", "file": "BASE64_ENCODED_STRING_HERE", "filename": "example.jpg" } 🔹 What I Have Tried So Far:✅ Verified the Base64 EncodingTested the Base64 string in an online decoder → it renders correctly.Confirmed the Base64 string is complete (not truncated).✅ Checked API ResponseAirtable successfully processes the request.The returned JSON includes a url for the image, but it does not display correctly.✅ Attempted Fixes:Tried adding data:image/jpeg;base64, before t
Hi,I have a problem with the release of my extension.The application works fine in development mode after block run.I wanted to switch to release, but after using block release I get the following errorspatrykjachym@MacBook-Pro-Patryk obliczanie_transportow % block releasebuildingcopying package.json filecopying package-lock.json fileinstalling node modules[npm][npm] added 107 packages, and audited 108 packages in 862ms[npm][npm] 7 packages are looking for funding[npm] run `npm fund` for details[npm][npm] found 0 vulnerabilities[npm] npm warn config production Use `--omit=dev` instead.❌ Error: npm warn config production Use `--omit=dev` instead.Failed to build the block code!patrykjachym@MacBook-Pro-Patryk obliczanie_transportow % My package.json { "dependencies": { "@airtable/blocks": "1.8.0", "airtable": "^0.12.2", "react": "^16.13.0", "react-dom": "^16.13.0" }, "scripts": { "lint": "eslint frontend" }}using node 1
I am receiving the below error;O: Can't create field: invalid field config. Creating or updating options for longText fields is not supported at this time. at main on line 31Can Airtable not support creating a Long Text Field? I might be missing something; let table = base.getTable("Report"); // List of fields to duplicate, with their types let fieldsToDuplicate = [ { name: "Act Name - GA 1", type: "singleLineText" }, { name: "Additional Comments - GA 1", type: "longText" }, { name: "Guest Artiste Show - GA 1", type: "multipleRecordLinks" }, { name: "Versatility - GA 1", type: "rating" }, { name: "Guests Socialization - GA 1", type: "rating" }, { name: "Audience Engagement, Adaptability - GA 1", type: "rating" }, { name: "Material Quality, Originality - GA 1", type: "rating" }, { name: "Professionalism and Reliability - GA 1", type: "rating" }, { name: "Adhere to Dress Code - GA 1", type: "rating" }, { name: "End of Show Audience - GA
Is there already docs or complete process on how to use airtable webhook api to bubble? Like if the data is created in airtable it will call a backend wf then viceversa in bubble.io to airtable.
Hi Team,Has anyone successfully integrated Data Cloud with Airtable? I have followed all the steps provided on the Salesforce website to set up the integration but have encountered the same issue described below.@Patrick_Baker a community member, also faced a similar challenge while attempting to integrate Data Cloud with Airtable and was stuck at the same step. I am currently experiencing the same issue. You can refer to the communication thread for more detail.https://community.airtable.com/t5/automations/linking-airtable-to-salesforce-data-cloud-using-the-beta/m-p/199422#M19337It would be greatly appreciated if someone from the community who has successfully completed this integration could share the steps.Thanks in advance.
I got a MAKE scenario that reads AT. It runs fine.I copied the table and the scenario now does not run (even with no changes whatsoever to the table). All I've done is point the AT module to the copied table.The message I get in Make is: The operation failed with an error. [422] FAILED_STATE_CHECKI reached out to Make support, and they couldn't find anything wrong. Said the error is on the AT side.Here is the RAW log you can share with them: { "response": { "status": 422, "headers": { "date": "Fri, 20 Oct 2023 06:31:56 GMT", "content-type": "application/json; charset=utf-8", "content-length": "39", "connection": "close", "set-cookie": [ "AWSALB=+U/EsIQfxd
Hi :slightly_smiling_face: I am building portfolio database for crypto trading. In my base I want to have live coin price, so I can track movement from current price and the price at which I initially invested. There are few websites that support API, but I am not sure how to use it and if that can be done. Is that possible to achieve, if yes can you please help me do it? Also, I am on Pro plan on Airtable. Thank you for your time.
Seems to be working fine previously but now when I am making consecutive calls with remoteFetchAsync, I get `TypeError: Failed to fetch` after the 1st, 2nd or 3rd request.Is there a change in behaviour in a recent release? Code example:```for (let invoice of requests) { let response = await remoteFetchAsync(ENDPOINT_URI, { method: 'POST', body: JSON.stringify({ 'invoices': [invoice] }), headers: { "Content-Type": "application/json", "Accept": "application/json", },});// Wait for 0.2 seconds before the next iterationawait sleep(200);}```
I am trying to receive party size data in my airtable for an integrated bland.ai voice assistant. If I remove the party size record in the airtable module, everything goes through smoothly but it is only party size that brings up this 403 error. Can you give me some insight on how I can resolve this?
Is it possible to list views from the web api using oauth? I know make.com and zapier have this functionality, but according to the dev docs it seems like this shouldnt be possible. I've done this using access tokens for enterprise but I want to implement this functionality using oauth.
I am looking into the possibility of using AirTable as a back end data repository for some of our data. In order for this to work, I'd have various event triggers accepting data fields and using that data to create or update an Airtable base/table using REST API calls. The goal is to replace some existing back-end that is stored in a SQL Server database.One aspect that I'm not sure to handle is preventing concurrent changes. If, for example, I have multiple changes happening to a record that could possibly be processed at near the same time, I need to make sure that the newest value "wins".The way this works in the current service is as follows:Before sending an updated value to the back-end via its API, a service gets the current value and compares the current value to the new value and only calls the API if one or more fields changedAs part of getting the current version, the service gets the version value of the row (implemented as a rowversion in the SQL database, but I've seen sim
Hi everyone,I’m trying to update the list of select options in the column Categories_test in an Airtable table using the API. My request seems to be correctly formatted, but I keep getting an error response from the server. I would appreciate any guidance on what might be wrong.Here are the details:PATCH Request:Endpoint: PATCH https://api.airtable.com/v0/meta/bases/{baseId}/tables/{tableId}/fields/{fieldId} Request Body: { "type": "multipleSelects", "options": { "choices": [ { "name": "test" }, { "name": "blabla" } ] } } Headers: { "Authorization": "Bearer [ANONYMIZED_API_TOKEN]", "Content-Type": "application/json" } Server Response: { "error": { "type": "INVALID_REQUEST_UNKNOWN", "message": "Invalid request: parameter validation failed. Check your request data." } } 
I'm looking at using airtable to use as a database for my startup as airtable provides simple implementation and data management features that make setting up data management simple.However there is one blaring issue that makes this difficult and that is the fact that you cannot set an exact number to offset your search by.I can work around the fact that you can't directly search by linked records by id or other parameters and have to use lookups and formulas to make this happen but not being able to offset makes me consider using another service.If you could setup something like this you could be very popular with startups as we need something quick simple and powerful to get our MVPs up and running quickly so we can test the market.
hi we run printshop business and use airtable for collecting orders. we would like to allow client to build their own designs and create mockups for tshirt. I wonder if anyone has an Idea for some third party tool that can be integrated with airtable.
I've been using airtable to handle the backend of an MVP. The tables and interfaces have been a great way to quickly put together a product that our internal team can work with. Probubly would have been beter to go with a tool like Retool for our use case, but this is were we are.We are still having trouble with the speed of airtable's API for our consumer facing front end. The other issue we've had is that there is no real dev ops workflow where we have a development environment and production environment. The best way to do that is to just copy the base and relink everything so we have a dev base and production base. The issue with that is its time consuming and all the Id's change so links we give the clients in emails etc that have id's as url parameters won't work anymore.We are looking to migrate to a traditional tech stack and would like to sync our airtable base to a postgreSQL base as we do the hard work of putting together a proper backend in react for our internal team
Does anybody know or has script you put in extensions and automatically shows post and comment karma on airtable. You need reddit api and airatble api. And a script that i dont know how to write. I would appreciate every help
Is there a way to directly upload a PDF that was created in make.com HTTP module directly to Airtable?
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.