# Request via newman with form-data file upload

**URL:** <https://community.postman.com/t/request-via-newman-with-form-data-file-upload/8272>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [October 9, 2019, 8:04pm UTC](https://community.postman.com/t/request-via-newman-with-form-data-file-upload/8272 "2019-10-09T20:04:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristiano.coll](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cristiano.coll](https://community.postman.com/u/cristiano.coll)\
**Post date:** [October 9, 2019, 8:04pm UTC](https://community.postman.com/t/request-via-newman-with-form-data-file-upload/8272/1 "2019-10-09T20:04:52Z")

</div>

297/5000

Request via newman with form-data file upload

Tests are failing newman when sending POST request with linked file via the link generated in Share Collections \>\> Get Link! Example: newman run https: // link xxxxxxxx -e environment.json

How do I change the file path so that it is found in the request?

[requestPost|690x332](https://community.postman.com/uploads/short-url/g4KuBAUiLwoYz3y0EFyuUnPQcAi.png)

 ![error](https://us1.discourse-cdn.com/getpostman/original/2X/d/dd0c5d093d9696e06efae7c7fae53112adb3ba4f.png) ![requestPost](https://us1.discourse-cdn.com/getpostman/original/3X/7/d/7d66b9de7fcc87112fcb22c4ca63ad904ca6f0e8.png) k.
