Error when uploading document to package
Monday, March 4, 2019 at 01:17amHi! I'm getting error when uploading package with postman.
Request:
POST /api/packages/WZhzAq7Kg94hKye2vaF7X6PAW2U=/documents HTTP/1.1
Host: apps.e-signlive.ca
Authorization: Basic MYAPIKEY
Accept: text/html
cache-control: no-cache
Postman-Token: 259c64f4-5ffe-4fb0-a7ae-13448cafa44f
Content-Disposition: form-data; name="payload"; filename="./upload/estimates/18/New.pdf
Content-Disposition: form-data; name="name"
test
Content-Disposition: form-data; name="description"
test
Content-Disposition: form-data; name="id"
test1
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Responce
{
"messageKey": "error.validation.invalidJson",
"technical": "Unexpected character ('%' (code 37)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: (StringReader); line: 1, column: 2]",
"message": "Invalid JSON.",
"code": 400,
"name": "Validation Error"
}
Reply to: Error when uploading document to package
Monday, March 4, 2019 at 03:52amReply to: Error when uploading document to package
Monday, March 4, 2019 at 04:01am