Twitter upload a media

Hey I just try to post a new tweet with an file or url but twitter module (V5) seems to not working anymore. So no way to share file or file id.

while try to make oauth connection to twitter v5 :
{“message”:“The request failed due to failure of a previous request.”,“code”:“SC424”,“suberrors”:[{“message”:“Status Code Error: 401”,“name”:“RuntimeError”}],“debug”:[[“undefined:”,“response”,401,{“body”:{“{"errors":[{"code":32,"message":"Could not authenticate you."}]}”:“”},“headers”:{“date”:“Wed, 22 Nov 2023 05:56:17 GMT”,“perf”:“7626143928”,“pragma”:“no-cache”,“server”:“tsa_f”,“status”:“401 Unauthorized”,“expires”:“Tue, 31 Mar 1981 05:00:00 GMT”,“set-cookie”:[“guest_id=v1%3A170063257704796248; Max-Age=34214400; Expires=Sun, 22 Dec 2024 05:56:17 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None”],“content-type”:“application/json; charset=utf-8”,“cache-control”:“no-cache, no-store, must-revalidate, pre-check=0, post-check=0”,“last-modified”:“Wed, 22 Nov 2023 05:56:17 GMT”,“x-transaction”:“d3cda8b16be767a0”,“content-length”:“64”,“x-frame-options”:“SAMEORIGIN”,“www-authenticate”:“OAuth realm="https://api.twitter.com", api_error_code=32”,“x-transaction-id”:“d3cda8b16be767a0”,“x-xss-protection”:“0”,“content-disposition”:“attachment; filename=json.json”,“x-content-type-options”:“nosniff”,“x-twitter-response-tags”:“BouncerCompliant”,“strict-transport-security”:“max-age=631138519”,“x-response-time”:“104”,“x-connection-hash”:“ef813e02723e3028b02dcc4e48ba0aedc13dbd43674b1d630e070c6e17a79048”,“connection”:“close”}}]]}

Hi there,

This is an authentication issue.

Please try Obtaining a new API Key and API Key Secret from your Twitter developer account (v1.0) and then connect here and see how it goes.

Here is the doc: https://www.make.com/en/help/apps/marketing/twitter-legacy#connect-twitter-to-make-970321

Hope this helps!

2 Likes