Help

API: How to post entries from Matlab

376 0
cancel
Showing results for 
Search instead for 
Did you mean: 
jstanczak
4 - Data Explorer
4 - Data Explorer

Hello, I am struggling to connect Matlab to Airtable's API. All calls that I make to post are returned with 422: Unprocessable Entity, no matter how I configure the data structure. I can successfully make get calls with Matlab's webread(), but fail with all webwrite() posts. I have also performed posts with python using the same authorization key. This tells me that my link, authorization, and write access are all working and it is a problem with webwrite(). 

I have tried formatting the data in many ways as shown by the screenshot, primarily attempting using structs or nested structs as the data entry. Even using a key value pair directly in webwrite() all gives the same 422 error. 

airtablematlab.png

Following the Matlab documentation on these functions explicitly yields these same results so any further insight would be greatly appreciated. Thank you.

0 Replies 0