Skip to main content
← Data, API & Backend
Data, API & Backend January 24, 2023 · 2 replies

Air Tab PATCH issues

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I'm tearing my hair out trying to get a simple PATCH API call to change a value in my table. I'm using airtable.
I have a table, named AllTitles, which contains information regarding movies. I have a field in this table called 'liked' and the aim is to assign a value 1 to this cell when the user clicks a button. So I figured and nice simple PATCH would work. I set the default value to 0. The idea being that the title is marked as being liked, so I can filter liked titles and return these to the app. The KEY value for my table is called myid. I have added a column which calls the function RECORD ID() and this does indeed display the unique record id. The URL contains a variable at the end, you guessed it, the record id. When I copy and paste this URL into the browser bar it loads the correct record. However, I am getting a 404 error when I debug.

Screenshot 2023-01-26 at 11.02.59.png

Screenshot 2023-01-26 at 11.00.33.png

Screenshot 2023-01-26 at 11.00.08.png

Screenshot 2023-01-26 at 10.59.42.png

Screenshot 2023-01-26 at 10.59.34.png

Screenshot 2023-01-26 at 10.59.09.png

There are no query parameters set. I am at a loss as to what can be the problem when the generated URL works perfectly. It's not the most demanding JSON PATCH request in the world....

2 replies

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord