DEV Community

Discussion on: Airtable POST/PATCH errors solved

Collapse
 
carriere4 profile image
Charles Carriere

Thanks for posting this! I was trying to do the same thing with python and couldn't figure out what the issue was. I passed my payload with json= instead of params= and it worked like a charm! Thanks again!

Collapse
 
gootecks profile image
gootecks

I ran into the same issue just now and had to adapt for python as well.

I'm still very new to coding, so I created a "records" dictionary with column and record data, then inserted them as follows:

airtable.insert(records, typecast=True)

I'm sure there was a cleaner or easier way to do it, and it only took like an hour (lol) to figure it out, but the upside is I found dev.to and now I'm a member! Had no idea this site even existed!