To whom it may concern
We are currently in the process of delivery and would appreciate an early reply.
We need to send an email, and it is essential to upload an email list file (csv file) to send the email.
The csv file upload specification has been confirmed by POSTMAN and we are trying to replace it with Kore.ai.
The method
POST:https://remote.mpse.jp/waidemo/remote/upload.php
Content-Type:multipart/form-data; boundary=hogehoge
body:Custom
“{{context.request}}”
scriptnode-configuration
context.request = “–hogehogeContent-Disposition: form-data; name="login_id"\n\nwaidemoXXXXXX\n–hogehogeContent-Disposition: form- data; name="password"\n\nQuesutXXXXXX!\n–hogehoge\nContent-Disposition: form-data; name="id"\n\n100\n–hogehoge\nContent- Disposition: form-data; name="title"\n\ntest\n–hogehogeContent-Disposition: form-data; name="FILE"; filename="email.csv"\ nContent-Type: application/vnd.ms-excel\n\n\nemail,id,pw\ntoru.miyake@quest.co.jp,2023,1218\n–hogehoge–”;
Originally I would like to set the following information
–hogehoge
Content-Disposition: form-data; name=“login_id”
waidemoXXXX
–hogehoge
Content-Disposition: form-data; name=“password”
QuesutXXXXXXXX!
–hogehoge
Content-Disposition: form-data; name=“id”
100
–hogehoge
Content-Disposition: form-data; name=“title”
test
–hogehoge
Content-Disposition: form-data; name=“FILE”; filename=“email.csv”
Content-Type: application/vnd.ms-excel
email,id,pw
toru.miyake@XXXXX.co.jp,2023,1218
–hogehoge–
The error message is
"traversedIntents": [
{
"name": "Welcome Task",
"dialogId": "dg-561ab594-a3e4-55ea-b45c-a987300f6d67"
},
{
"name": "メール送信テスト",
"dialogId": "dg-d10fbe84-a0a4-5230-84d3-d784a2e18d08"
}
],
"contextId": "dcx-4a473c2c-d19e-5313-927a-30d94599eae1",
"message_tone": [],
"dialog_tone": [],
"isDeveloper": true,
"request": "--hogehoge\nContent-Disposition: form-data; name=\"login_id\"\n\nwaidemoXXXX\n--hogehoge\nContent-Disposition: form-data; name=\"password\"\n\nQuesutXXXXXX!\n--hogehoge\nContent-Disposition: form-data; name=\"id\"\n\n100\n--hogehoge\nContent-Disposition: form-data; name=\"title\"\n\ntest\n--hogehoge\nContent-Disposition: form-data; name=\"FILE\"; filename=\"email.csv\"\nContent-Type: application/vnd.ms-excel\n\nemail,id,pw\ntoru.miyake@XXXX.co.jp,2023,1218\n--hogehoge--",
"Service0001": {
"response": {
"statusCode": 500,
"body": "Error Occured while Resolving"
}
},