Help

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

Topic Labels: API
Solved
Jump to Solution
2227 1
cancel
Showing results for 
Search instead for 
Did you mean: 
F_terstal
4 - Data Explorer
4 - Data Explorer

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
F_terstal
4 - Data Explorer
4 - Data Explorer

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

See Solution in Thread

1 Reply 1
F_terstal
4 - Data Explorer
4 - Data Explorer

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