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
[stepbystep] Device not found for topic #207
Comments
Where did you put config.iota.defaultKey: '1234'??? cumps |
Looking to https://github.com/telefonicaid/iotagent-json/blob/master/config.js#L28, it seems it is not within config.iota, but within config.mqtt. Not sure if some versions of IOTAgent use config.iota and other use config.mqtt for the defaultKey configuration... |
This issue seems to be related with #222 (maybe a duplicate?) |
If you look at the config files being used in the tests, they use the defaultKey in the iota config section also. Besides, the documentation says "We have not created a specific configuration for our devices yet, so the API Key will be the default one for the IoTA" (giving a hint that it's an iota config). |
Using latest iotagent and iotagent-node-lib no error log about device apikey not found is logged. |
Hi,
I was following the step by step guide and calling:
I got following error in logs:
After some debugging it looks like after adding
config.iota.defaultKey: '1234'
intoconfig.js
fix the problem for me. Not sure if it is the right approche.The text was updated successfully, but these errors were encountered: