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

215
Views
Error 'Token de acceso oauth2 vacío' de las API de LinkedIn

Aquí estoy pasando "Bearer +token" en el encabezado. Pero sigo recibiendo el error de token de acceso de oauth2 vacío. Incluso tengo un valor de token codificado. Aún así, la respuesta es el nombre en lugar de "token no válido".

axios.get("https://api.linkedin.com/v2/me",{ headers: { 'Autorización': Bearer ${linkedinToken} }}).then((respuesta) => { console.log(respuesta ,'detalles')

 firstName = response.data.localizedFirstName; lastName = response.data.localizedLastName; console.log('firstname',(firstName)); console.log('lastname',(lastName)); axios.get(`https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))`,null, { headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${linkedinToken}` } }).then((response) => { console.log('email',response); }).catch((error) => { console.log('error from email api',(error)); }) }).catch((error) => { console.log(error,'error from name api') })
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!