3 Replies Latest reply on Sep 11, 2016 11:10 AM by ds-2 RSS
    ds-2 Apprentice

    connectivity problem (raspberry pi to thingworx platfrom )

    i face connecitivity problem (raspberry pi to thingworx platfrom ).i attached my screen shot also. Any one help

     

     

     

     

    Running Example #3: minimal agent w/ property

    /home/pi/thingworx-nodejs-agent/thingworx-agent-examples/node_modules/thingworx-api/api.js:60

                    throw new Error(util.format('Error initalizing thingworx API - returned erro

                          ^

    Error: Error initalizing thingworx API - returned error code 1004

        at setApiInitializationOptions (/home/pi/thingworx-nodejs-agent/thingworx-agent-examples/node_modules/thingworx-api/api.js:60:9)

        at Api.setConfigOptions (/home/pi/thingworx-nodejs-agent/thingworx-agent-examples/node_modules/thingworx-api/api.js:187:26)

        at new Api (/home/pi/thingworx-nodejs-agent/thingworx-agent-examples/node_modules/thingworx-api/api.js:107:7)

        at new getApi (/home/pi/thingworx-nodejs-agent/thingworx-agent-examples/node_modules/thingworx-api/api.js:259:18)

        at Object.<anonymous> (/home/pi/thingworx-nodejs-agent/thingworx-agent-examples/examples/three/index.js:24:11)

        at Module._compile (module.js:460:26)

        at Object.Module._extensions..js (module.js:478:10)

        at Module.load (module.js:355:32)

        at Function.Module._load (module.js:310:12)

        at Function.Module.runMain (module.js:501:10)