POST problems using Google Apps Script


#1

I’m trying to create a front end webapp for collecting sign up information and storing it in AirTable but can’t get AirTable to accept my post request. Originally, I had all of the field value pairs directly in the payload. Oops! I have since then created the fields object with field value pairs inside of it but keep getting INVALID_REQUEST_UNKNOWN. The message reads that the parameter validation fails.

I’ve even gone so far as to copy and pasting the example object code from the API doc’s to make sure I’m using the exact names and data types of fields but receive the same error!

I’m not trying to add data to any formula, rollup, or lookup fields that can’t be edited.

(I tried to use AirTable.js by pasting the source code but GAS didn’t like that and kept throwing me random debug errors)

Any ideas??