Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary file load error: invalid or missing file source #12796

Open
1 task done
jaybhanushali3195 opened this issue Apr 13, 2024 · 0 comments
Open
1 task done

Binary file load error: invalid or missing file source #12796

jaybhanushali3195 opened this issue Apr 13, 2024 · 0 comments

Comments

@jaybhanushali3195
Copy link

jaybhanushali3195 commented Apr 13, 2024

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

Pre request script not able to update request body
Getting error "Binary file load error: invalid or missing file source"

pre request script

pm.request.body.update({
    mode: "file",
    file: [
        {
            src: "current_request.bin"
        }
    ],
        options: [
        {
            language: "json"
        }
    ]
})

Steps To Reproduce

  1. keep the file current_request.bin inside root folder
  2. add pre request script
  3. post request

Screenshots or Videos

Operating System

macOS

Postman Version

V10.24.19

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant