Invalid json number ‘xyz’. at mongodb.bson.io.jsonscanner.getnumbertoken update error
You get this frustrating error when trying to update a MongoDB row.
It can be hard to debug if you are new to this.
This happens because you need to be passing in a TokenFilter to the update method, and not the TokenId itself.