Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Target Community Q&A Coffee Break: On Wednesday, February 1 at 8am PT, Brent Kostak of the Adobe Target Product team will be joining us to answer your Target questions. To register and for more information, follow the link to the right.

Issues with Node ID service

Avatar

Level 3

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