I’m testing an extension to a Go library (anaconda) to use the Account Activity API in sandbox mode. My app has been approved for the Account Activity API.
To start, I’m sending a POST request to (with some information replaced with ‘example’):
https://api.twitter.com/1.1/account_activity/all/dev/webhooks.json?url=https%3A%2F%example.net%2Ftw%2F
and receiving a 403 Forbidden error with the error text:
{"errors":[{"code":261,"message":"Application cannot perform write actions. Contact Twitter Platform Operations through https://help.twitter.com/forms/platform."}]}
I contacted Platform Operations and they told me that the application is not restricted from accessing the Twitter API. They asked for more information, then referred me here.
I have tried making a request with the wrong API secret, and got a different error, so I don’t think it’s an OAuth problem. Any ideas what might be causing this problem?