For the life of me i can not get the update rows API to work. Upsert works. Here’s the code and structure. I verified that the row_id and col_id are correct. What am I doing wrong?
update_url = f"https://coda.io/apis/v1/docs/{self.doc_id}/tables/{self.table_id}/rows/{row_id}"
data = {
"row": {
"cells": [
{
"column": col_id,
"value": new_value
}
]
}
}
response = requests.post(update_url, headers=self.headers, json=data)