Need development and API help? Ask your questions here!
Recently active
The two fields I need from my base are ‘date’ and ‘venue’ and in the base they are in order by date, that’s how I entered them. When I i retrieve that data via the API, they are out of order, and not in a way that makes sense. When I try to use the Airtable API Encoder to set the sort order, I get a 422 error. Any ideas how to fix this? Something simple that I’m missing? Thanks!
Hey all I’ve developed a Gantt view web app which is driven by an Airtable table in the back-end. Ideally I’d like to share the color scheme between the Gantt view and the Airtable interface. Is there a way to get the colors used from Airtable? e.g. for a Single select field Then I could make my Gantt table blocks colored to match my Airtable rows Thank you Elliot
Hi guys, I’d never seen this one before. I’m sending a deletion request looking like: https://api.airtable.com/v0/appXXXX/MyData/recYYYY Now if the record does not exist I always get a 404 with: {“error”:{“type”:“MODEL_ID_NOT_FOUND”,“message”:“Record not found”}} In one particular situation I get: {“error”:{“type”:“MODEL_ID_NOT_FOUND”,“message”:“Could not find application by id recYYYY”}} If somebody could explain why this happens or what this means that would be awesome!
I have CarTable with a linked field to EngineTypeTable and another linked field to ManufacturerTable. I have the record_id from a record in EngineTypeTable and a second record_id from a record in ManufacturerTable. I want to create an API call on CarTable that returns all the CarTable records with linked field columns that respectively match the record_ids that I have. How can I do this? Is it possible with filterByFormula?
Hello everybody, I am trying to use Airtable as backend for a submit form in my project. However, I cannot seem to integrate it and I don’t know the problem. I am using npm Airtable.js and axios. I am very new to both JS and Airtable. Below is my error code: Error in the browser after submiting the form: Airtable error: {“error”:{“type”:“INVALID_REQUEST_MISSING_FIELDS”,“message”:“Could not find field “fields” in the request body”}} Could somebody please what I am doing wrong? Thanks a lot in advance! Below is my code: var form = document.querySelector("#bize-ulasin"); if(form) { form.addEventListener("submit", function(event) { event.preventDefault(); axios.post(airtable_write_endpoint, { "Content-Type": "application/json" } , { "fields": { "AdSoyad": document.getElementById("#Ad-Soyad"), "Email": document.getElementById("#Email"), "Telefon": document.getElementById("#Telefon"), "Konu": document.getEleme
Value for the field in the record = ‘Company Name, LLC’. The querystring contains: &filterByFormula={Customer}=‘Company Name, LLC’ That string is run through urlencode() and looks like this… &filterByFormula={Customer}=%27Company%20Name%2C%20LLC%27 No matter what I try, it is failing for every customer that contains a comma. Not sure if there is a way to escape the comma, or if this is an Airtable API bug.
Hello. I’m using java and the official com.sybit.airtable.* library. I noticed something curious: I use a certain file (e.g. test1.zip) as attchment via an url, and I set the FileName to “test1.zip” No problem here. The attachment is added to the field, with as name “test1.zip” However, if I use the same file test1.zip (via url) to another record (same field), and name it “test2.zip”, it is added/shown as filename “test1.zip” and not “test2.zip” !!! It looks like internally, there is some kind of CRC value of the file connected to the initial FileName, and as soon this file is used again, it uses the initial FileName value, no matter what u use afterwards. Can somebody explain this?
Hello! I’m relatively new to Airtable. I have a view that has columns that are lookups from other tables. When I pull the table data into a web app that I’m building, I get what looks to be random string references anywhere a lookup or linked value is. If anyone has thoughts on how I can grab the value of that field instead of the reference, I’d be super appreciative. Here is an example of my code: When I have the results returned to me, and I get a field value for a non linked or lookup column like this: response.data.records[i].fields.Date I get the date, as expected. But if I reference a linked or lookup column, like this (the Project column is linked to the projects table…): response.data.records[i].fields.Project I get something like this returned: recNmHYjQBITjdJdb rather than the string of the project’s name. Any help or advice is super appreciated!
Hi there, I have a table that have records of users_email and i wanted to implement a get_by_email method from my server. I must have missed something because I can’t get the filterByFormula to work… I’m trying this in python: payload = {“filterByFormula”: “({EMAIL} = "test@test.fr”)"} r = requests.get(url, params=payload, headers=headers) In returns i have this error : {‘error’: {‘type’: ‘INVALID_FILTER_BY_FORMULA’, ‘message’: ‘The formula for filtering records is invalid: Invalid formula. Please check your formula text.’}} Can someone help on this please ? I’m a little lost Thanks in advance :slightly_smiling_face:
Using curl, if I try to GET /v0/workspace_id/base_name?fields=field1, it will fail with 422 “unprocessable entity”. However, GET /v0/workspace_id/base_name?fields=field1&fields=field2 works without any problems and returns the requested fields.
Hello AirTablers, I’m trying to use the API correctly but am only getting back a “NOT_FOUND” response. This is the API endpoint with what I think are my base and table values from a base in my account and I’m passing my API key in the Header. I can’t see what’s missing from the curl examples we see in the API docs: https://api.airtable.com/v0/tbl3xtICFVhYV7I8N/viwKJgxDKy6tU5Nyd Here’s a screenshot of me in postman trying to get a call through unsuccessfully: *UPDATE I’m able to get some responses back from the API Docs example call: https://api.airtable.com/v0/appNffFm7oK8ieYKn/Voyager.com \ But where did the appNffFm7oK8ieYKn come from? When I click around the base or look for a share link or look in Account settings I don’t see this string anywhere? *UPDATE 2 [SOLVED] :white_check_mark: I found that sneaky “app string” in the API Docs header dropdown for my new Test base. Problem solved. Image blocked from me having a new user limit. Airtable%20API%20%20%20testsheet|690x207
Hi there, I’m a bit of a frankencoder - I learn as I copy and tweak - so I’m just following the directions here. I’m attempting to show just the Name of a linked record, but it’s coming out to look like this: [ “recfJJrXBhwg8oyl9” ] And any Lookup field turns out like so: [“data here”] So I assume I need to first retrieve the ID of the linked record so it shows the field I want related to that record, but not sure how to go about coding it out. My sloppy guesswork is this in the HTML: Partner:{{ item['id']['Partner']['fields']['Name'] }} Here’s the full JSFiddle
Hello everyone. I’m trying to copy new rows inserted on someone else’s table (readable for the public) to my own Google Spreadsheet. I tried with Zapier, but because I don’t own one of the tables, I don’t think I can do it (correct me if I’m wrong :slightly_smiling_face: ). Next attempt is via API. Can you help me? Thank you.
I would like my PDF’s URLs to come in thru the API at a certain date and at a certain time and then expire but I either get zero records as my result or only the first one comes in but not at the time it should. I’m not sure if I need to use the Now formula with this: AND({Start Date}<=“2018-26-10T8:45:00.000Z”,{Expiration Date}>=“2018-26-10T8:50:00.000Z”) This is what I’m using right now when I request URL: https://api.airtable.com/v0/appwTRS4obTixysow/Ad?api_key=mykeynumber&filterByFormula=AND({Start Date}<=“2018-26-10T9:45:00.000Z”,{Expiration Date}>=“2018-26-10T9:50:00.000Z”) This is my airtable Also, this is what I chose for the date and time format This is the script I’m using: Has anyone had an issue with Date and Time scheduling that can help me? I would really appreciate it. Thank you in advance.
I’d like to query a table via the Javascript API with the following requirements: The query uses a “View” for sort order The query uses a custom filter that overrides any filters existing on that view. Is it possible to accomplish this? Right now, it seems that filters in Airtable always affect the API results.
Hi folks, Airtable and Power BI comparison. Could anyone tell (Explain) me the major prons & cons of Power BI and Airtable? Thanks
When working with linked records, is there any way use the record ID to search across all tables in a base or to “get” the table name of the linked record? As far as I know right now, there’s really no way to dynamically build the query that gets the linked record, i.e., you have to parse the field key to figure out what table is being linked to, etc. This seems really clunky.
Hi all, I’ve been developing a website using Airtable’s official API client in javascript, and have been wondering if there’s a recommended way to securely protect my API and base keys (so that ppl won’t be able to access them via browser)? I’d like to know if there is a way to protect my keys without switching to another programming language.
Does anyone know if its possible to make a submit button on an interactive, fillable pdf, post to airtable??
Hello – Is there a way to output the values on a linked fields as opposed to the ref id? For ex: the .get_all() python wrapper function returns the ids only. Can it return the values from the linked table? Is there an easy way to do this? Thank you
Ok, so maybe I have missed something, but I am trying to generate a new AirTable record to new Ticket Tailor orders. I link Zapier to my AirTable via the API, but when I look to access my base in AT to build an Action in Zapier, the only bases that show are preset/Demo ones that I did not create. I have tried searching for my bases, but no luck. So I can’t get past this step because I can’t access the base I have in AT?? Any help really appreciated.
Hi guys, I noticed that single update statements (PATCH) for multiple fields do not (always?) show up in the revision history. In this case the date field was updated at the same time as a checkbox, but only the date transition shows up in the history…
Hello, I’m trying to create a new record with the API. One field type is an attachment (an image or pdf). My call is working, I have a 200 response code, I can see the new record in the Airtable interface, I also have in the response the attachment field information: ["Proof"]=> array(1) { [0]=> object(stdClass)#28 (3) { ["id"]=> string(17) "attOL0Pzidc5P8bOk" ["url"]=> string(85) "https://www.mydomain.com/file/26348dd2d0adb1f592fdf34774a51214.jpg" ["filename"]=> string(36) "myfile.jpg" } } but in the Airtable interface this field is empty, and if I get this new record, I don’t have this field. The file is first uploaded on my server, I can access the file in my browser using the URL. In the documentation, it’s indicated that Airtable will download the file at the given URL and keep its own copy of it. I presume it’s not working? Do you have an idea where the problem is? Thank you
I am working on an Alexa skill that executes a GET from an Airtable base where the record contains a field whose field type is Attachment. The GET in the Alexa skill assigns whatever is passed from Airtable to a variable. I don’t have a means of displaying the Alexa variable to see the contents. From the API documentation, I understand an attachment field will pass a field ID, the URL of the object and the file name of the object. Could someone provide an example of what is passed from the API using the following example: AudioField=api_response.records.0.fields.AirtableAudioFile; After execution, what is the contents of AudioField? Audiofield = ‘xxxxyyyyzzzz’ Thanks in advance for your reply!
If I create an Airtable with two tables in it, call them posts and comments, I can use either table name to delete records on the other table. In other words, if I have a comment with the ID recIA3d3kRJwccR4M, I can call: DELETE https://api.airtable.com/v0/BASE_ID/comments/recIA3d3kRJwccR4M or: DELETE https://api.airtable.com/v0/BASE_ID/posts/recIA3d3kRJwccR4M This seems like a pretty important bug as it could lead to accidentally deleting records from the wrong table. Is this a known issue or something that you’re looking to fix?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.