Skip to content

TypeError: this.setAuthHeaders is not a function #136

Description

@franck-malka

After generating a node from a swagger file with nodered generator and when i try to execute a POST request from the new node, i get the following error: "TypeError: this.setAuthHeaders is not a function" Anyone has a hint.

to reproduce

node-red-nodegen /swagger/capif-cf.json
npm install /usr/src/node-red/node-red-contrib-capif-cf

the node is created with no errors and it is added to the node-red instance
node-red-nodegen version: v0.2.4
Node-RED version: v3.1.0
Node.js version: v16.20.2
Linux 5.15.0-84-generic x64 LE
npm version: 8.19.4

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