Twitter Auth failing

Following up on this post, I receive a 403 error when trying to post tweets with the twitter node. I checked my credentials with Postman and everything works fine, so I suspect a configuration issue with n8n.

{
"message": "Request failed with status code 403",
"name": "Error",
"stack": "Error: Request failed with status code 403 at createError ...
}

I also checked my twitter application callback URL which seems to work fine. I am on v0.150.0 via npm and a reverse proxy with the following environment variables (censored):

[program:n8n]
environment=N8N_HOST=,VUE_APP_URL_BASE_API="",WEBHOOK_TUNNEL_URL="",GENERIC_TIMEZONE="Europe/Berlin",N8N_BASIC_AUTH_ACTIVE=true,N8N_BASIC_AUTH_USER=,N8N_BASIC_AUTH_PASSWORD=
command=n8n
startsecs=60
autostart=yes
autorestart=yes

Any hints on what I could be doing wrong?

That is weird. Running the same version and it works fine for me.

Either elevated access is needed as of Nov 15, 2021, or the endpoints will have to be changed to v2, as explained here.

1 Like

Yes, we will need to create version 2 of the node that uses the new API.