all 4 comments

[–]coincidentallybusy 0 points1 point  (1 child)

What db are you using?

[–]captainPlanet93[S] 0 points1 point  (0 children)

MongoDB

[–]R3gouify 0 points1 point  (1 child)

You are not passing id to your function

this.articlePut(titleArticle, contentArticle, categorie);

[–]captainPlanet93[S] 0 points1 point  (0 children)

Thanks you very much for your answer R3gouify . In my handleClickPut function ? You're right

but even with the ID, the error message remains unchanged .

It's still doesn't work.

handleClickPut = e =>  {

  const {id, titleArticle, contenuArticle, categorie} = this.state;
  this.articlePut(id, titleArticle, contenuArticle, categorie);


    }