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

Getting error when trying to create profiles using Bulk Profile Update API v2 in Sandbox environment

Avatar

Avatar
Boost 1
Level 1
annieactioniq
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
annieactioniq
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
annieactioniq
Level 1

10-07-2020

Hi guys,

 

We are trying to create some test profiles in our sandbox environment, and in order to do that we are executing the following command for calling the Batch Update profile API v2 (according to Adobe Target docs, that should be possible with v2 of the API):

 

curl  --request POST --header 'Authorization: Bearer <ACCESS_TOKEN>' \
      --data-binary '@BATCH.txt' \
      'http://OUR_CLIENT_ID.tt.omtrdc.net/m2/OUR_CLIENT_ID/v2/profile/batchUpdate'

 

The contents of the BATCH.txt file are like this:

 

batch=thirdPartyId,param1,param2,param3

1,TestValue11,TestValue12,TestValue13

2,TestValue21,TestValue22,TestValue23

3,TestValue31,TestValue32,TestValue33

 

And we are getting this error:

 

<response>
    <success>false</success>
    <visitorId></visitorId>
    <message>Batch is empty</message>
</response>

 

We’ve also tried with a file like this (using pcId instead of thirdPartyId)

 

batch=pcId,param1,param2,param3

1,TestValue11,TestValue12,TestValue13

2,TestValue21,TestValue22,TestValue23

3,TestValue31,TestValue32,TestValue33

 

And we get the same error as above. So, we want to understand what this error means, maybe we are missing something, so does any of you guys have an idea of why this is happening?

 

Thanks!

 

 

View Entire Topic

Avatar

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
umamaheswariy46
Level 3

Likes

11 likes

Total Posts

143 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
umamaheswariy46
Level 3

05-03-2021

Problem resolved.