Batch is Empty (Response ) Getting error when trying to create profiles using Bulk Profile Update API v2 | Community
Skip to main content
Umamaheswari_Yakkala
New Participant
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
New Participant
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

New Participant
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
gabrielj8954766
New Participant
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
New Participant
October 13, 2022

Pls share what CURL command are you using? 

 

CUrl should work from WSL command prompt

 

Thank You,

Uma

Translate
Umamaheswari_Yakkala
Umamaheswari_YakkalaAuthorAccepted solution
New Participant
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
Umamaheswari_Yakkala
New Participant
March 5, 2021

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

 

 

 

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

Translate
ambikaTewari_ATCI
New Participant
March 8, 2021
Hi @5192288 I am also getting same error , how did u fix it
Translate