Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
Recibo el error " 'Solicitar token faltante': '' " al intentar configurar un cliente

Sé que hay una pregunta muy similar a esta en StackOverflow , pero no entiendo qué significa la respuesta, y por eso estoy haciendo esta pregunta.

aquí está mi código

 const tokens = JSON.parse(fs.readFileSync("./tokens.json")); const { accessToken, accessSecret, oauth_verifier } = tokens; const client = new TwitterApi({ appKey: process.env.API_KEY, appSecret: process.env.API_KEY_SECRET, accessToken: accessToken, accessSecret: accessSecret }); const {client: Bot} = await client.login(oauth_verifier);

ejecutar esto arroja un error 401 con datos que dicen que falta el token de solicitud: ''.

Creo que el problema radica en el oauth_verifier, ya que el código funciona bien y he verificado todas mis otras credenciales. También puedo ejecutar un console.log() sin encontrar errores si se comenta la última línea de mi bloque de código anterior.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!