۶Ƶ

۶Ƶ 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 “binary” option.

Description description

Environment

۶Ƶ Target (AT)

Issue

The ۶Ƶ 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 “binary” option to the Postman body.

  • Check if you can see the success message.

If the above doesn’t work, try using the curl command instead of Postman.

Reference

۶Ƶ Target Bulk Profile Update API help document

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f