I have the same issue. Did you resolve it?
Hi @mmkilinski, judging purely from the error code 403 received from Twitter, this could be a problem with your Twitter API credentials. Did you follow the steps from the documentation to obtain your credentials?
Yes, I’ve made every step from the documentation. I’ve successfully connected to Twitter account but I can’t use API.
From your last screenshot we can read the reason the request is failing:
You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you'll need to apply for Elevated access via the Developer Portal.
There is also a link to “Learn more” and possibly solve the error.
I don’t understand. I’ve made all steps from the documentation. There is no mention of applying for Elevated access there.
Hi @mmkilinski, this appears to be a fairly recent change by Twitter as per their blog:
So we will need to update our documentation on the Twitter credentials (and possibly also the Twitter node itself in order to utilize their API v2 at some point). For now, you might want to follow the Twitter developer documentation to get the respective access level. As suggested by @krynble, I’d start with the link they provide in their error message:
Ok, it makes sense. The n8n Twitter flow uses APIv1.1 I guess.
Exactly, the node is currently using 1.1 endpoints (which before the aforementioned change were the default endpoints available to all developers, but now require additional steps in the Twitter approval process):
So thanks a million for your detailed screenshots and explanation, these helped greatly with understanding what was happening here (and also explain why other users did not run into the issue if they had set up their Twitter developer accounts before 15 November).
I’ve blocked an hour before the weekend to update our documentation accordingly.
I can confirm that the problem is resolved with elevated access! However, it’s still possible to send tweets via the v2 API without elevated access, I tested with Postman (my account was created after Nov 15). I suppose changing the endpoints might be the better way to go as opposed to having everyone go through the approval process?
Yes, moving to Twitter’s v2 API would definitely be the preferred solution. I have added it to our backlog
Hi @mmkilinski and @pkastner, I was looking into updating our documentation today (Friday was unfortunately a lot busier than expected), but I can see it already suggests using standalone apps. In the Twitter developer portal these would automatically be created with v1.1 access for me:
Could you confirm whether you have generated your credentials using this option or did you by any chance use a “Project” (which Twitter heavily pushes as the new default option)? Or in other words, when navigating to https://developer.twitter.com/en/portal/projects-and-apps, in which section would your Twitter app for n8n appear?
@MutedJam I used the “Project” method which was the only one I could see in my dev portal. Worked well for me after receiving elevated credentials.