This is because, as the error message says, the navigator object is too large.
You can use the dystroy modified JSON function as follows:
var navJSON = JSON.pruned(navigator);
The returned object is quite large, but it is almost certain that it is not entirely correct. If you want to pass data about the navigator object using JSON, you should send only these properties, not the entire object.
Some guy
source share