function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pankul guptapankul gupta 

Getting Error while Build a Violet App

Hi Community Members,

While doing the Trilhead challenge for Building a Violet App, I am getting the below error:
Step not yet complete... here's what's wrong:
Could not find a successful login with connected app named 'Violet App'

However the Client ID and customer secret ID, I am passing are correct.

Also, while running the nodeserver.js, I am getting the below error:
 
PS C:\Users\pangupta\Desktop\Violet - App> node server.jsC:\Users\pangupta\Desktop\Violet - App\node_modules\nforce\index.js:64
  if(!_.isString(this.clientId)) throw new Error('invalid or missing clientId');
                                 ^

Error: invalid or missing clientId
    at new Connection (C:\Users\pangupta\Desktop\Violet - App\node_modules\nforce\index.js:64:40)
    at Object.module.exports.createConnection (C:\Users\pangupta\Desktop\Violet - App\node_modules\nforce\index.js:1161:10)
    at Object.<anonymous> (C:\Users\pangupta\Desktop\Violet - App\node_modules\violet\lib\violetStoreSF.js:22:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\Users\pangupta\Desktop\Violet - App\gameNight.js:6:21)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.loadScript (C:\Users\pangupta\Desktop\Violet - App\node_modules\violet\lib\violet.js:34:7)
    at Object.loadScript (C:\Users\pangupta\Desktop\Violet - App\node_modules\violet\lib\violetSrvr.js:110:25)
    at Object.<anonymous> (C:\Users\pangupta\Desktop\Violet - App\server.js:5:12)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)