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

Avatar

Avatar

bhargav102

Avatar

bhargav102

bhargav102

24-03-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

05-04-2020

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

Answers (0)