Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

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

Topic Labels: API
Solved
Jump to Solution
1153 1
cancel
Showing results for 
Search instead for 
Did you mean: 

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.”
}
}

1 Solution

Accepted Solutions

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

See Solution in Thread

1 Reply 1

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