Skip to main content
Umamaheswari_Yakkala
Community Advisor
Community Advisor
March 4, 2021
Solved

Batch is Empty (Response ) Getting error when trying to create profiles using Bulk Profile Update API v2

We are trying to create some test profiles in our environment, and  we are executing the following command for calling the Batch Update profile API v2      '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

xxxxx,y,y

 

And we are getting this error:

 

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

 

Could you please help me to resolve this.

 

Thank You

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Umamaheswari_Yakkala
Umamaheswari_YakkalaAccepted solution
Community Advisor
March 8, 2021

@LordOfTheRings

 

This call is not working from postman. 

 

Please use CURL command with UNIX command prompt.

 

I have used Curl with Ubuntu then it worked for me.

 

Thank You

 

 

6 replies

Umamaheswari_Yakkala
Community Advisor
Community Advisor
March 5, 2021

It is very urgent. Please help me on below query.

 

 

 

thisdenotes a person or thingMore (Definitions, Synonyms, Translation)

Translate
ambikaTewari_ATCI
Community Advisor
Community Advisor
March 8, 2021
Hi @5192288 I am also getting same error , how did u fix it
Translate
Umamaheswari_Yakkala
Community Advisor
Umamaheswari_YakkalaCommunity AdvisorAuthorAccepted solution
Community Advisor
March 8, 2021

@LordOfTheRings

 

This call is not working from postman. 

 

Please use CURL command with UNIX command prompt.

 

I have used Curl with Ubuntu then it worked for me.

 

Thank You

 

 

Translate
gabrielj8954766
December 9, 2021

@umamaheswari_yakkalaIt's working for you? 

 

I'm having the same issue here, and migrating to Unix cURL doesn't seem to work in my case.

Translate
Umamaheswari_Yakkala
Community Advisor
Community Advisor
October 13, 2022

Pls share what CURL command are you using? 

 

CUrl should work from WSL command prompt

 

Thank You,

Uma

Translate
October 13, 2022

I had the same issue when I tried to make the POST request in Python. 

 

Can someone post a working example using the request library?  B/c it seems like I am doing everything right.

Translate