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

not accepting file after selecting file in form data #13394

Open
1 task done
VinhTin-AQUA opened this issue Jan 11, 2025 · 3 comments
Open
1 task done

not accepting file after selecting file in form data #13394

VinhTin-AQUA opened this issue Jan 11, 2025 · 3 comments
Assignees

Comments

@VinhTin-AQUA
Copy link

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

In form-data, I select a file to attach to the form; after selecting the first file, the file is attached normally. But then when selecting a file for another key in the form, the file is not accepted.
I tried selecting many other files, but sometimes it works, sometimes it doesn't.

Steps To Reproduce

  1. Open a new request tab
  2. Select the Body tab
  3. Select the form-data type
  4. Add two keys: files
  5. Select a file for first files key ---> success
  6. Select a file for second files that failed (File not accepted after selecting file)
    image
  7. Try selecting a different file; sometimes it works, sometimes it doesn't.

Screenshots or Videos

0111.1.mp4

Operating System

Windows

Postman Version

1.6.1

Postman Platform

Postman VSCode Extension

User Account Type

Signed In User

Additional Context?

No response

@llparagranell
Copy link

I think using unique keys for each file (e.g., file1, file2) instead of reusing the same key (files).

@VinhTin-AQUA
Copy link
Author

I think using unique keys for each file (e.g., file1, file2) instead of reusing the same key (files).

but I want to send a array of files

@rishavbharti
Copy link
Member

@VinhTin-AQUA You can select multiple files for a particular key in a single selection.
We will be addressing the issue in our upcoming releases, though.

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

No branches or pull requests

4 participants