Need development and API help? Ask your questions here!
Recently active
Hello, I’m trying to learn basic scripting. I’m following some examples to get started and build a useful function, however I’m hung up pretty early on. I’m trying to pull all the entries for one specific field in a view. However, when I do this, my efforts keep ending up giving the “id” and “name” column, but not whatever I specified as the field. Here’s my code: let table = base.getTable(‘Prints’); let view = table.getView(‘PF - All Prints’); let result = await view.selectRecordsAsync({ fields: [“Keywords”] }) output.inspect(result); Any support would be appreciated! Thank you.
Hello everyone! Good day! I have a quick question.Is there a way to upload a CSV or XLSX file in Airtable?We want to be able to streamline sales data in Airtable. We would download the file from Bol, and upload it in Airtable, so it updates automatically the right values. Any help is appreciated!Thank you! -Aisha
Hello,I'm reaching out to inquire about a specific functionality within the Airtable API.I'm currently working on a project that involves duplicating a database template, including all of its tables, via the Airtable API. While I've explored the documentation and experimented with various endpoints, I haven't been able to find a straightforward solution for achieving this.Could anyone in the community kindly provide guidance or share if there's an API script available that facilitates the duplication of a database template along with all its tables? My goal is to automate this process as part of a larger project.Your insights, suggestions, or examples of how to achieve this would be immensely appreciated.Here's an example of the JSON script I've attempted to use:{"base_id": "YOUR_BASE_ID","new_name": "New_Base_Name","copy_tables": true,"workspace_id": "YOUR_WORKSPACE_ID"}Thank you all for your time and assistance!Best regards,
Hello,I'm reaching out for assistance with an issue I've encountered while trying to interact with the Airtable API. Despite following the documentation provided by Airtable and ensuring that I've granted the necessary permissions, I'm consistently receiving an error message.Here's the API request I'm making:curl -X POST "https://api.airtable.com/v0/meta/bases" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \--data '{"name": "Apartment Hunting","tables": [{"description": "A to-do list of places to visit","fields": [{"description": "Name of the apartment","name": "Name","type": "singleLineText"},{"name": "Address","type": "singleLineText"},{"name": "Visited","options": {"color": "greenBright","icon": "check"},"type": "checkbox"}],"name": "Apartments"}],"workspaceId": "wspmhESAta6clCCwF"}'However, I'm consistently receiving the following error message:{"error": {"type": "INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND","message": "Invalid permissions, or the requested
I connect all tokens and link and Rested post in account collectoin.but when I sent my test value I got this :"Select data to bind to the UI and/or use in another API request" Below is error message and this is is Jason body and then a test data. I am spending hours here. please help me
Hi everyone, I'm trying to be proactive with the the imminent change to the integration with Airtable. I've connect Zapier via the App Update (Presumably using OAuth) and connected Make with an OAuth connection. However, I expected to see the connection appear in Airtable under the developers OAuth section but there is nothing. How would I manage and revoke these connections if I can't see themCheers all, Jason
I'm building a PTO request workflow in Slack which adds a record to an Airtable. Airtable then automates some downstream steps which will post the PTO to a shared Google calendar etc. It was working fine. I wanted to make some modifications without messing with the original workflow so I duplicated the workflow itself as well as the Airtable. The Slack workflow duplicate allows me to choose that duplicated airtable (I added it to the integration in Airtable) but it simply won't work when I try to run the Slack workflow. Slack throws "The service used for this step isn't available" when I try to run it. I deleted the Slack integration in Airtable and re-created it with a request from Slack to no avail. I also tested deleting the copy of the table to see if the error changed, and it did- Slack would say "The user doesn't have permission to use this step." instead. A brand new airtable base from scratch works, but I don't want to re-create the existing one if I can avoid it. Any
My airtable account does not let me generate an API Key, instead it pushes me to creating a PAT. I have used a PAT and successfully linked to Make.com however as far as I am aware I need an API Key to integrate Airtable with Voiceflow, so does anyone know how I can overide what it is saying and generate one. Or can someone help show me how to use the PAT to link with Voiceflow.
Hello there,https://api.airtable.com/v0/appycQyQBCRaFT2aD/Tebi-Category-Test?maxRecords=110&view=Grid%20viewI'm using this API to get the my table's data and after that I will process this into my CMS and then to fetch next records there is offset which I'm using to get another records. Since the records are more than 100 server might get out so I tried to get less records like 10 but offset is not there in the response.so can someone help me to get less records and also the offset in it ?Thank you.
Hi! I found a workaround that’s helpful for me, so I thought I’d share. If someone has an easier way to do this, please let me know! Apologies if this has already been posted, I didn’t find it after a bit of searching. The problem I was trying to solve was that when updating a record, a field can be named using its friendly name (e.g. “First Name”), but then if I change it later, even a little bit, my API integration will break. Each field also has a unique ID, prefaced by fld, but I wasn’t aware of any way to actually find that name. Well, it turns out that you can for most fields, with a little trickery: Edit: See drassi’s post below for an easier way to do this. In the GUI, create a new field, and make it a formula. In the formula, refer to the field that you want to know the ID of. (For instance, if you want to know the ID of the “First Name” field, make your formula “{First Name}”.) Delete the field that you want to know the name of. Now, the formula field will have a red erro
Hello, as of this morning, any PDFs that I attach via the Make integration will no longer open in a preview window, but instead tries to download a file without an extension. This Make scenario has been running for months without issue, with hundreds of PDFs attached in the manner per day - all being able to open up in Airtable without an issue. But as of this morning, nothing added today will open properly. Any attachments added yesterday still open fine. Any ideas what is happening here?Edit - apparently this is only happening on this specific Base. If I run a Make scenario to add an attachment to a different Base - it attaches fine and opens normally. But then if I change it to attach to my primary Base, the same download issue occurs. I need to get it back to working normally on this primary Base. This is what I have determined so far:1. Only is affecting my primary base2. If I manually attached a PDF via airtable, it opens
Is there something wrong with Airtable today? Three of my customers reached out saying their Airtable automations stopped working. All issues needed to set another new personal access token. Aren't these supposed to not expire? If they expire, this is hugely problematic. This code needs to work reliably or Airtable can't reasonably be used for these integrations. I have to reach out to dozens of accounts now to see if their integrations are still working.
New to Airtable and had the webinar getting started with Airtable. However, my work will be to read and write data from a 3rd party app. Generally data will be pushed and pulled from the 3rd party app/website.The method to push and pull the data will be similar to the CURL examples in the docs. Seems straight forward.OverallMy general question: any suggestions or insight for best practice, etc. DetailTo get specific, I have created a couple Bases in my account as well as a Personal Key. Looking at the API call to List Records I need the BaseID. Looking in my account I don't see this info attached to the Base. My assumption then, I'll need to use List Bases to be able to List Records on a specific Base. Will I need to use this process every time? Storing this info into a local table on the 3rd party app is an option. So is it possible the IDs might change during the life of the base/table/record? Case StudyHere's a typical scenario. Categories on the 3rd party app are fluid. T
https://api.airtable.com/v0/meta/bases/myBaseIDhere/tables A particular base is very large. I only need table IDs and Names for this call. The JSON returned is HUGE and seems to an issue on my end. How do I get only this limited data with this call?Note: I am new to Airtable but there is so much data I don't need from a Table. Thanks, ScottIDS
What is the exact way to delete multiple records on a table of Airtable with Make.com ?Thanks,
Hi everyone I am trying to create a hash of a record using md5. I am fairly new to script but I am willing to learn. does anyone have an idea of how to do that? Thank you
Hi, I’m getting an error when I try to use create a Javascript FormData object in preparation for posting to an API. I would have thought FormData would have been well supported. console.log(`Hello, ${base.name}!`); const endPoint = new URL('https://myserver.com/jsonAPI/'); const formData = new FormData(); formData.append("user", 'tom'); const response = await fetch(endPoint.toString(), { method: "POST", body: formData, }); console.log(response) Getting an error saying that FormData is not defined
Hi guys, I'm new to web development and i'm trying to use a serverless function to fetch data from airtable. The fetch function works fine before, but this morning when I check my application it shows `isAxiosError.js:10GET http://localhost:8888/api/products 500 (Internal Server Error).`I used API Key before for the authentication but I have already changed the API key to personal token. However, it still not working for my project. Can anyone help me to solve this problem? Thanks in advance.
Hi,I am having an issue to match the airtable-content-mac from the header with the one I computed following the instructions from the documentation .So we tried the following:const decodedMacSecret = atob('macSecretBase64'); //macSecretBase64 from create webhook const body = `{ "base": { "id": "appjRdIX59U4YEy4l" }, "webhook": { "id": "achXH94CxHYGdUcje" }, "timestamp": "2024-03-06T00:32:58.992Z" }` const hmac = createHmac('sha256', decodedMacSecret); console.log(body) hmac.update(body.toString(), 'ascii'); // I also tried JSON.stringify(body); console.log('received header: hmac-sha256=0fb79298bc57a45a34ca1d04f5237fd4a9a9223fd5c90cc04f35d3c3890180cc'); console.log('computed: hmac-sha256=' + hmac.digest('hex'));Thanks
Hi, I am having trouble connecting to the Airtable Library from Google App Script. Google App Script is asking me for a Script ID but I don't seem to be able to find one. I am also confused by the replacement of the Airtable API with PAT which I equally am unsure how to use. Any help would be very useful. I am a bit of a novice. Sorry.Ultimately, I simply want to copy some data from a Google Sheet into one of my tables.
If you navigate to: https://airtable.com/developers/extensions/api/models/Table, you can see a link for the Field model listed in the description for the fields member. However, if you click that link it bounces you back to an index page for the documentation not the documentation page for Field.The reason for this is because the link for Field is wrong.Documentation contains:https://airtable.com/developers/extensions/developers/extensions/api/models/FieldWhen it should be:https://airtable.com/developers/extensions/api/models/Field
Hi,I've just started looking at creating an Extension, and one of the things I'd like to do is authenticate the user against Azure AD through either implicit or PCKE flows so I can then call internal APIs requiring an AD token. For a normal React app I would use the MSAL library to redirect to AD and then redirect back to the app on successful auth, this however doesn't appear to be possible within an extension due to the lack of callback URL.Is anyone able to help provide some guidance around whether this is possible within Extensions? Perhaps someone is doing something similar with Google/Facebook that may be able to help.Thanks!
Hey all,Been trying to implement Airtable webhooks for our company however i've ran into a slight problem with the signature of the webhook itself. No matter how I move things around, encode or decode, it refuses to match the signature provided by Airtable.The code below generates a HMAC but doesnt match the one provided by Airtable. I cant use the Crypto module since thats Node only which sucks. Is there any secret sauce that im missing from this code? All the docs say is to just decode the base64, shove it into Code below:const decodedMacSecret = atob(webhookConfig.macSecretBase64);const encoder = new TextEncoder();const data = encoder.encode(bodyText);const hmacKey = await crypto.subtle.importKey( 'raw', encoder.encode(decodedMacSecret), { name: 'HMAC', hash: { name: 'SHA-256' }, }, false, ['sign']);const hmac = await crypto.subtle.sign( 'HMAC', hmacKey, data);const expectedContentHmac = 'hmac-sha25
Hello everyone,I am actually building a carousel using the Web API. I am going over the documentation and I cannot find a way to do what I want. I am trying to get the previous and next row with an id of one row in a filtered table.For exemple, I have the following data:ID | Name | Category1 | D | CategoryZ2 | B | CategoryZ3 | C | CategoryLIf I want to get the previous element and next element of B when the table is filtered by the Category column and Name column. In this case, the previous element is C and the next one is D, How do I do that using the Web API?The only thing I could maybe think of is a way playing with the "offset" parameter. Maybe I am missing something in the documentation.Thank you in advance
Am I missing something or Airtable does not have an input method to select a user (aka Collaborator)?What I want to do: create a script that first asks to select a user.I know I can create a workaround (below) but that is not my question... is there really no Collaborator input?(we are also missing a Date input since at least 3 years apparently - only solution is to parse text... for real?)Automatable workaround, for those interested:create a table, call it "Users" or somethingset two fields, Name (type: Formula) and Collaborator (type: User)set the formula in Name to just display the Collaboratorthen create one record per actual user of your base(optional) create an automation running at fixed time intervals that will look for all users (base.activeCollaborators) and add/remove records accordinglyNow in your scripts you can create a form asking for a user using the input.recordAsync method.I am baffled to seem to have to build this myself.
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.