Expand my Community achievements bar.

SOLVED

We are getting 400 error while sending parameter with Aray value in Target v2.

Avatar

Level 2

We are in process to migrate Target V1 to Target V2.

 

While working with activities which are using parameter which are having values stored in arrays. For example, Sub Categories. We are getting 400 bad request error in network. It works fine with TargetV1. We also tried to see if we can get the value as data element and pass it with launch rule to fire parameter. (Example. digital.page.<variableName>[0]. - this prints value  on console log but that comes blank in actual target request.)

 

Can some helps us to read and use values which are stored as Array in data elements.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Change the syntax to digital.page.variableName.0. (instead of using square brackets).

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Change the syntax to digital.page.variableName.0. (instead of using square brackets).