If you have form-data type of payload on your Postman request, you may notice that there’s a warning with text:
The file above is not in your working directory, and will be unavailable to your teammates when you share the request. You can either set up your working directory in Settings, or upload the file to Postman.
It appears if the file of one of your keys is from a directory that’s not specified in the Working Directory settings. If you ignore this, your API validation will catch that there’s no file in your request.
To fix this, either:
- Set the location of your working directory in settings to where your file resides. In Postman, look for the gear icon at the upper-right portion, then go to the General tab;
- Move your file to the working directory location; or
- Enable “Read files outside working directory” in the settings, so Postman can access your files even outside the working directory location.