Unexpected token when posting to Userss

Hi guys,

I am trying to use postman to do lesson 2 of the authorization section of the react course.

When I try to post this generic object via postman to the mongodb, it throws this error. I Can’t understand what’s going on… Any pointers?


The JSON is invalid because of the trailing comma at the end of line 4. Try removing it and see if that helps.


Yep, this was the issue! Thanks :smiley:

1 Like

error json remove the last comma