Import bugs when request has a file
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Make a collection., and a Request, with a body type of "Multipart FormData". Add a part/field which must be a type of "File" and add a file to it.
After that, export it to "Insomnia v5" yaml file.
Then import it again.
Expected behaviour: Import will work.
### Actual Behavior
Import doesnt work.
I get error: No importers found for file.
### Reproduction Steps
1. Make a collection.,
2. Add a request
3. Set the body type to "Multipart FormData".
4. Add a part/field which must be a type of "File"
5. Add a file to the part/field.
6. Export the collection to Insomnia v5 yaml file
7. Import the collection. You will now get error: No importers found for file.
### Is there an existing issue for this?
- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [ ] Local only
### Additional Information
I have found a very specific way for this to work. If i make a request, and then body "FormData" and then add a part which must be field, then just put in the key and value (text), and then right after you put in the text in the key and value, then change to file, and then the file will actually work.
NEW UPDATE BUG
I have also found out if you maek a field/part, and only put the key in without any value, it will also bug the same way
### Insomnia Version
11.0.2
### What operating system are you using?
Windows
### Operating System Version
Windows_NT x64 10.0.19045
### Installation method
From website for windows
### Last Known Working Insomnia version
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.