Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.

Accessing customer attribute in offers

Avatar

Level 1

Hi guys,

 

I have written an offer code referencing customer attribute. This code is written just to test connection and data.
Following is the snippet. 

var a = "${crs.personalized experience.blog page visitors}"
console.log('offer ran!')
console.log(a)

I am directly referencing the audience from offer. When this code run I see error in console 
mbox-contents-7f70287b57a884bbc3c3e7ff06cb2d9f7131a976.js:1
POST https://name.tt.omtrdc.net/rest/v1/delivery?client=name&sessionId=ce4718eef61c43f9b2a9af70210befca&v... 500

Network call for mbox

  1. {status: 500, message: "An error has occurred while processing your request, please try again later"}
  2. message: "An error has occurred while processing your request, please try again later"
  3. status: 500

 

Is this issue caused because there are white spaces in attribute? Kindly let me know..

0 Replies