node-red / node-red/node-red-nodes
node-red-node-twitter error by posting a tweet
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 13h 57m
- Merged PRs (30d)
- 3
Description
Which node are you reporting an issue on?
Node-Red-Node-Twitter
What are the steps to reproduce?
- Open an node red project
- Install Node-Red-Node-Twitter
- Insert a node twitter out
- Configure credentials
- Add a simple inject node with msg.payload = "Hello world" and msg.topic = ""
- Connect inject node to twitter node
- Deploy
- Inject information to twitter node
What happens?
A message "TypeError: Cannot read property '0' of undefined" displays in debug tab
What do you expect to happen?
Tweet Hello world in the account configured
Please tell us about your environment:
- Node-RED version: v1.1.2
- node.js version: v12.18.2
- npm version: 6.14.6
- Platform/OS: MX-19.2_x64 patito feo May 31 2020
- Browser: Version 83.0.4103.116 (Official Build) (64-bit)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the listed Node-RED Twitter out node steps, especially the inject message with msg.payload set to "Hello world" and an empty msg.topic. Start by tracing the Twitter out node's handling of that message and the reported undefined value; done means the configured account receives the tweet without the TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100