Skip to main content
Solved

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

  • July 6, 2020
  • 1 reply
  • 3 views

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

Best answer by F_terstal

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

View original
Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 1 reply
  • Answer
  • July 6, 2020

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


Reply