I’m running into an authentication error when performing a complex search with twitter. Can someone help me with this?
The twitter search query below works fine in twitter or when I previously used it in a zap. But when I use it in the Twitter node I get an authentication issue.
lang:en “hiring” “remotejobs” filter:links -filter:news -from:incluzion -from:incluzionjobs geocode:43.010493,-92.101723,2770km
{"message":"Request failed with status code 401","name":"Error","stack":"Error: Request failed with status code 401\n at createError (/home/jibril/n8n_jibril/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/home/jibril/n8n_jibril/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/home/jibril/n8n_jibril/node_modules/axios/lib/adapters/http.js:269:11)\n at IncomingMessage.emit (events.js:412:35)\n at IncomingMessage.emit (domain.js:470:12)\n at endReadableNT (internal/streams/readable.js:1317:12)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)","config":{"url":"https://api.twitter.com/1.1/search/tweets.json","method":"get","headers":{"Accept":"application/json","Authorization":"OAuth oauth_consumer_key=\"SaICRnzNgCrjgwzU71pA2Lx34\", oauth_nonce=\"oPA99RSpw23E93h9F4r1UJOD81IK88U8\", oauth_signature=\"fJtn9WlB78AV14ypyGS9jXMv3hs%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1632920742\", oauth_token=\"1053835296805191680-K5SNCkHjorzGvwrNzfioVO4UTNqFH2\", oauth_version=\"1.0\"","User-Agent":"axios/0.21.4"},"params":{"q":"\"hiring\" \"remotejobs\" filter:links -filter:news -from:incluzion -from:incluzionjobs ","include_entities":true,"response_type":"recent","lang":"en","geocode":"43.010493,-92.101723,2770km","count":1},"transformRequest":[null],"transformResponse":[null],"timeout":300000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false}}}
If I only include “hiring” “remotejobs” in the query then I don’t get the authentication issue, it only when I add the additional filters…