HTTP Error 348: Client application is not permitted to access this user's webhook subscriptions. - Twitter API
So I was working with Twitter API and ran into this error. I don't really know why it came up because I have integrated with Twitter before without issues.
After reading a lot I realised that you will it is a permission issue. Here is it, you have created your app before with limited access before you got approved to use the new Webhook so you will have to go back and change your permission. Your accessToken and accessTokenSecret keys will be changed.
You still need to go to your "normal" Twitter account and revoke access to the app. You will need to generate a new access token and token secret.
This link was helpful to figure this out: https://twittercommunity.com/t/getting-error-code-348-while-trying-to-add-subscription/101796