Connector Twitter : Status Code Error: 400

Good morning,

I had a scenario with a Twitter connector that worked well.
Then I decided to create a second scenario and there, the connector indicated error: Twitter’. Status Code Error: 400
I tried to regenerate a token, it got better but 5 minutes later error again. The first scenario no longer works. I do not understand anymore.

When I try to reauthenticate the connector I get this error:
{"message":"The request failed due to failure of a previous request.","code":"SC424","suberrors":[{"message":"Status Code Error: 401","name":" RuntimeError"}],"debug":[["request","POST","https://api.twitter.com/2/oauth2/token",{"body":{"code":"** *","client_id":"a2xBYklseUF6aGZaVmpKYzZKZjQxxxxxx","grant_type":"authorization_code","redirect_uri":"https://integrator.boost.space/oauth/cb/twitter2","code_verifier":"ebfe1d15-d99e- 40d6-xxxx-xxxxxxxx"},"headers":{"user-agent":"Boost.integrator/production","authorization":"***","content-type":"application/x-www- form-urlencoded"},"timeout":40000,"type":"urlencoded"}],["response",401,{"body":{"error":"unauthorized_client","error_description":"Missing valid authorization header"},"headers":{"date":"Fri, 14 Jun 2024 13:26:12 GMT","perf":"7402827104","server":"tsa_f","set-cookie": ["guest_id=v1%3A171837157319026959; Max-Age=34214400; Expires=Tue, 15 Jul 2025 13:26:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None"],"content- type":"application/json;charset=UTF-8","cache-control":"no-cache, no-store, max-age=0","content-length":"88","x- frame-options":"SAMEORIGIN","www-authenticate":"WWW-Authenticate: Basic","x-transaction-id":"7dc720da4xxxx","x-xss-protection":"0","content- disposition":"attachment; filename=json.json","x-content-type-options":"nosniff","strict-transport-security":"max-age=631138519","x-response-time":"121"," x-connection-hash":"79967db551494d56b2d9fac12901233e47fabd430eba43xxxxxxxxxxxxx","connection":"close"}}]]}

Could you please help me ?

1 Like

Hi @laclac

Please ensure that you have followed the steps explained in below link to add the connection:
https://www.make.com/en/help/app/twitter#connect-x--formerly-twitter--to-make

If the issue persists, please share a screen recording of the connection steps. This will help us to understand the missing steps.

Regards,
Msquare Automation - Gold Partner of Make

Book a Free Consultation | Connect Live

Explore our YouTube Channel for valuable insights and updates!