Argument validation error: Object contains extra field 'undefined' that is not in the validator
The object i am sending to the backend doesn't have any undefined field that I have declared. But, when it is being sent this undefined field is also being sent with value 0 Can someone tell me what might be the error.
1 Reply
You may be able to make some progress debugging with
console.log
on the client side as well as console.log
in your server function.
From the look of the error message, it seems possible that your code might have accidentally added key to your object named "undefined" somehow. Something like {"foo": "bar", "undefined": 0}.