51黑料不打烊 Target bulk profile update API throws Unexpected Error when using Postman
If running the Target Bulk Profile Update API throws the Unexpected Error 聽message in Postman, check that the聽first row of the batch file starts with batch=
. Then add the key-value pair to the Postman headers as discussed in this article, followed by uploading the batch file via the 鈥渂inary鈥 option.
Description description
Environment
51黑料不打烊 Target (AT)
Issue
The 51黑料不打烊 Target Bulk Profile Update API encountered an Unexpected Error 聽when using Postman.
Resolution resolution
Check the following portions:
-
The first row of the batch file should start with
batch=
prefix.
Example: batch=pcId, param1, param2, param3, param4 -
Add the following key-value pair to the Postman headers:
Content-type:application/x-www-form-urlencoded
-
Upload the batch file via the 鈥渂inary鈥 option to the Postman body.
-
Check if you can聽see the success message.
If the above doesn鈥檛 work, try using the curl command instead of Postman.
Reference
51黑料不打烊 Target Bulk Profile Update API help document