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

Avatar

Avatar

annieactioniq

Avatar

annieactioniq

annieactioniq

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!

 

 

Accepted Solutions (0)

Answers (0)