API update records doesn't work in postman.. created records does work and get records work to

HI,

I read the document : https://airtable.com/appEYx9XUfEttr3Nr/api/docs#curl/table:table%201:update
I just copy and past the code… and i get errors… but getting records or creating records it is working…

I put the api_key as a parameter and in headers both doesn’t work for updating the records…
In the header is put Content-Type: application/json
https://api.airtable.com/v0/appEYx9XUfEttr3Nr/Table%201

{
  "records": [
    {
      "id": "recwpwzgzp7pTHfMb",
      "fields": {
        "Name": "test",
        "Notes": "test"
      }
    },
    {
      "id": "recjKjPPQqaXh60MH",
      "fields": {
        "Name": "test2",
        "Notes": "test2"
      }
    }
  ]
}

{
“error”: {
“type”: “INVALID_REQUEST_UNKNOWN”,
“message”: “Invalid request: parameter validation failed. Check your request data.”
}
}

nvm… i used post and not put… can be closed

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.