The "data" argument must be of type string or an instance of Buffer, Type dArray, or DataView. Received undefined code example
Example: the "data" argument must be of type string or an instance of buffer, typedarray, or dataview. received null
this topic solved it for me
i.e. don't use bodyParser when calling setWebhook, only on specific routes: