Skip to content

Executing fintocClient.links.get generates an axios error #19

Description

@javier-teillier

When I try to execute fintocClient.links.get throws an axios exception of an illegal request.

This is my code that I've been doing following your documentation:

const { Fintoc } = require('fintoc');
const fintocClient = new Fintoc(fintoc.secret);
const link = await fintocClient.links.get(fintoc.linkToken);

I get the following error:

"code": 500,
"message": "Cannot read properties of undefined (reading 'type')"

But looking into the util library, the real error is:

400 Bad Request
Your client has issued a malformed or illegal request.

I'm not sure if I'm doing something wrong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions