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

177
Views
LinkTokenCreate de Plaid da error 400 en node.js

¿Alguien más tiene problemas con el método linkTokenCreate de Plaid? Estoy usando node.js como backend y cuando lo ejecuto junto con el frontend, el error comienza en la línea que involucra esta función.

Incluso cuando uso las opciones estándar de inicio rápido, sigo recibiendo el mismo error de solicitud incorrecta 400.

Este es el código de fondo, igual que el inicio rápido. Solo estoy probando el token de enlace, por lo que es la única ruta que he definido.

 app.post('/create_link_token', function (request, response, next) { console.log('HI THERE') Promise.resolve() .then(async function () { const configs = { user: { //this should be a unique id for the current user. client_user_id: 'user-id', }, client_name: 'Plaid Quickstart', products: PLAID_PRODUCTS, country_codes: PLAID_COUNTRY_CODES, language: 'en', }; console.log(configs); // if (PLAID_REDIRECT_URI !== '') { // configs.redirect_uri = PLAID_REDIRECT_URI; // }; const createTokenResponse = await client.linkTokenCreate(configs); console.log(createTokenResponse); prettyPrintResponse(createTokenResponse); response.json(createTokenResponse.data); }) .catch(next); });

y este es el error:

 Error: Request failed with status code 400 at createError (C:\Users\MyComputer\Desktop\mukadi\plaid-integration\backend\node_modules\axios\lib\core\createError.js:16:15) at settle (C:\Users\MyComputer\Desktop\mukadi\plaid-integration\backend\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (C:\Users\MyComputer\Desktop\mukadi\plaid-integration\backend\node_modules\axios\lib\adapters\http.js:269:11) at IncomingMessage.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Probablemente un problema con su archivo .env. ¿Revisaste los registros? https://dashboard.plaid.com/activity/logs debería mostrarle la solicitud y tener detalles del error.

about 4 years ago · Santiago Trujillo Report

0

Puede ser una tontería, pero cuando recibí este error exacto fue porque no registramos nuestro URI en nuestro tablero de cuadros.

Registre su URI de redireccionamiento:

Inicie sesión en el Tablero de Plaid y vaya a Configuración del equipo -> página API. Junto a URI de redireccionamiento permitidos, haga clic en Configurar y luego en Agregar nuevo URI. Ingrese su URI de redireccionamiento, que también debe configurar como un enlace universal para su aplicación, por ejemplo: https://app.example.com/plaid/ . Haga clic en Guardar cambios.

about 4 years ago · Santiago Trujillo Report
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!