Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this.setAuthHeaders is not a function #136

Open
franck-malka opened this issue Sep 27, 2023 · 0 comments
Open

TypeError: this.setAuthHeaders is not a function #136

franck-malka opened this issue Sep 27, 2023 · 0 comments

Comments

@franck-malka
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant