Skip to main content
Umamaheswari_Yakkala
Community Advisor
Community Advisor
Mar 4, 2021 7:37 PM UTC
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
Mar 8, 2021 5:08 PM UTC

@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
Mar 5, 2021 1:40 PM UTC

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
Mar 8, 2021 4:35 PM UTC
Hi @5192288 I am also getting same error , how did u fix it
Translate
Umamaheswari_Yakkala
Community Advisor
Umamaheswari_YakkalaCommunity AdvisorAuthorAccepted solution
Community Advisor
Mar 8, 2021 5:08 PM UTC

@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
Dec 9, 2021 7:53 PM UTC

@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
Oct 13, 2022 5:44 PM UTC

Pls share what CURL command are you using? 

 

CUrl should work from WSL command prompt

 

Thank You,

Uma

Translate
Oct 13, 2022 5:29 PM UTC

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