Direct Message Account Activity Error

api

#1

appid: 7780651
ownerid: 2980221990

Used twurl to post direct message worked, worked fine.

Following the below documentation
https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/aaa-standard-dm.html

https://api.twitter.com/1.1/account_activity/webhooks.json , passed encoded URL in the query string and body.

Getting Error
{“errors”:[{“code”:32,“message”:“Could not authenticate you.”}]}

I am using the node.js boiler plate code to do the first web hook for Direct Messages.