I have been trying to use the API to create a new row in a table based on this article here https://developers.hubspot.com/docs/methods/hubdb/create_row and I have been able to create a new row successfully, however they are always blank, I cant seems to get it to input data. I am new to the hubspot api and also JSON so maybe there is something really obvious ive done wrong here, I would be grateful for any input.
If anyone else has this problem, I found what was wrong. the send request need to look like this
xhr.send(JSON.stringify(
{
“values”: {
“1”: “name”,
“13”: “123”
}
}
));
I had the values part in there before, but it was all on one line and maybe there was something else wrong with it, but this has fixed it!