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
BedrockMission!

Learn More

View all

Sign in to view all badges

Accessing customer attribute in offers

Avatar

Avatar
Validate 1
Level 1
swapnilchaudhari
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
swapnilchaudhari
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
swapnilchaudhari
Level 1

07-07-2020

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..

Accepted Solutions (0)

Answers (0)