Expand my Community achievements bar.

Join Cristinel Anastasoaie, Timothy Furlow, and Brent Kostak, WEDNESDAY, 2/28/24 @8am PT for the next Adobe Target Community Q&A Coffee Break on topics from the recent High Performance Recommendations Webinar PT 2 of the ongoing Target Personalization Maturity Webinar Series

Issues with Node ID service

Avatar

Level 4

I'm following the guide located here:

 

https://experienceleague.adobe.com/docs/id-service/using/implementation/ecid-a4t-target.html?lang=en

 

However when I call visitor.generatePayload I get the following error:

 

TypeError: visitor.generatePayload is not a function
   at app.get (C:\aa\NodeMaster\index.js:34:32)
   at Layer.handle [as handle_request] (C:\aa\NodeMaster\node_modules\express\lib\router\layer.js:95:5)
   at next (C:\aa\NodeMaster\node_modules\express\lib\router\route.js:137:13)
   at Route.dispatch (C:\aa\NodeMaster\node_modules\express\lib\router\route.js:112:3)
   at Layer.handle [as handle_request] (C:\aa\NodeMaster\node_modules\express\lib\router\layer.js:95:5)
   at C:\aa\NodeMaster\node_modules\express\lib\router\index.js:281:22
   at Function.process_params (C:\aa\NodeMaster\node_modules\express\lib\router\index.js:341:12)
   at next (C:\aa\NodeMaster\node_modules\express\lib\router\index.js:275:10)
   at cookieParser (C:\aa\NodeMaster\node_modules\cookie-parser\index.js:71:5)
   at Layer.handle [as handle_request] (C:\aa\NodeMaster\node_modules\express\lib\router\layer.js:95:5)

 

Does anybody know what this may be attributed to?  Am I missing a dependency?

 

 

0 Replies