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

Countries example didn't seem to work 'as is'. #50

Open
tonybroadbent opened this issue Aug 17, 2023 · 1 comment
Open

Countries example didn't seem to work 'as is'. #50

tonybroadbent opened this issue Aug 17, 2023 · 1 comment

Comments

@tonybroadbent
Copy link

I got it working by making the following changes:
• Changed inject to inject msg.junk instead of msg.payload.
Seemed unwilling to overwrite payload if already set to a string value.
If I tick 'show debug' the response is all down there in the object under debugInfo.data.data.

@01tot10
Copy link

01tot10 commented Sep 11, 2023

Thanks for documenting this @tonybroadbent. I was also having trouble with the example, and changing the inject-node to as you proposed fixed the issue. I'm running Node-RED version: v3.0.2 and Node.js version: v14.21.3.

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

2 participants