Hi, I don't have much experience with API requests. I am trying to understand how it all works. I am currently using Node-RED (visual Node.js) to process the requests. I was able to complete a GET request and i'm now trying to do a PATCH request to update data in Airtable.
I get the following error message when trying:
type: "INVALID_REQUEST_MISSING_FIELDS"
message: "Could not find field "fields" in the request body"
Here is the schema in question:
I am unsure where the API is expecting the request body.
Here is my test JSON:
{
"fields": {
"CCISF": 5,
"CORAMH": 5,
"RJCCQ": 5
},
"typecast": true
}
Do I have to include all fields present in the table or only those i wish to update with the PATCH request?
Thank you.
Best answer by CarboneQuebec
After Further investigations, It appears the request body was sent via msg.payload and not msg.req.body.