-
Notifications
You must be signed in to change notification settings - Fork 2k
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
"Import suceeded" but nothing changes #4274
Comments
@kate-koll it seems you might be trying to import an Insomnia export of a I would suggest you try: Or, B) Create a new Design Document, and inside that new Design Doc, attempt to re-import the file. |
@develohpanda @wdawson this might be an opportunity for improving UX, as users don't get a warning if they are trying to import a design doc into a request collection. |
Same here: |
@filfreire Hi, thanks for the reply. Didn't work though :( |
It actually overwrites the original collection that was exported, so that pop-up describes what was restored in the original collection, possibly overwriting latest changes in that collection. I created an issue for that. |
is this report a duplicate of #4034? |
See this comment in #4034 (comment) . This bug was created, as requested, #4283 in the comment above. So, it's a duplicate of the latter. There's a couple more with the same problem, as far as I can see. |
Are there any updates on this issue? |
The bug is that it overwrites the original collection because it uses the same collection IDs as it exported. What most likely happened in your case is that the collection ID didn't exist on this computer and it appeared that it created a new one. If you change the collection you just imported and then import the original file again, your changes most likely will be gone. |
I'm running into this issue as well, even with a install of Insomnia that's never seen the collection before. Exact same behavior, shows all the successful import messages in the pop up and then there's nothing there. Any new ideas on how to get around this? |
@justindupree01 I used this hack, which worked that time, but this is not something that could be considered safe. Even if it still works you would need to verify the result really well in that it doesn't have some side effects. |
Encountered this too -- frustrating bug to encounter immediately after paying for a subscription. I had success by navigating to my INSOMNIA base environment, then Duplicate the Collection from there, selecting the Remote environment as the location. Interestingly, this then revealed the previously hidden file-migrated Collection. I then had to delete the cloned remote environment. |
I have tried all options possible (importing different ways) and also have tried to reinstall with the latest version: Insomnia 2022.3.0 but unable to import any collection. |
I have tried too, but not working |
If you're like me, importing a collection in remote project, previously existing in local project and exported from there, try first deleting the local one. Because otherwise, since they have same ID or something like that, the import of the collection simply overwrite the local previous collection (the one from which you created the export). |
Can confirm. I wanted to move my old insomnia collection to a personal project.
|
For those who just want to move collections/documents between projects, there's a simpler way.
This copies collections/documents/environments to the target project. Check that the copy is good and delete the original from the source project. I also find this hack useful for committing exported YAML into the repository - duplicating collections/documents to a transient project before exporting what goes into the repository helps with subsequent check-out/import because it won't overwrite the original collection. |
Worst UI ever, wasted a lot of time. It is definitely not obvious that the word "Insomnia" needs to be clicked to view, a different collection |
The solution is very simple. Insomnia imports your collection but it does not show you where to find your imported collection. So import your collection and then to view your imported collection you need to go to the Dashboard. Click on the word "Insomnia" next to the purple circle, you should see |
@CharlesMavundla The real issue here is not so much where imported data ends up, but rather that it will wipe out your existing data after the import. See issue #4283 for details. |
Hi folks, we'll try to prioritise this issue, and also #4283 as soon as possible as like many of you mention the current user experience is very stressful or surprising (in a wrong way). Heads up @wongstein and @subnetmarco - marking these in our internal |
For anyone still having this issue: I exported the collection as HAR - HTTP Archive Format instead of Insomnia V4(JSON) and was then able to successfully import it without any issues. |
@samadams412 |
wow. It took way to long and a lot of bad answers. Are they doing anything to make it more clear as to what is happening? right now the whole file process is terrible you cant tell what happened from the import and its unclear where to navigate. |
I just paid for the team version of Insomnia and had issues importing my collections into a team project. This solved my issue. |
The same here, it tells me if I want to import it, but I need something to happen after. :/ |
Any update on this? Using the export feature messed up my Insomnia. |
Same problem. I didn't imagine this simple feature would turn out to be such a huge headache. |
@gabuch2 submit a PR if you care about it, rather than calling the contributors clowns, this is an open source project and anybody can contribute. Have some respect. |
@subnetmarco You are right, I was struggling for hours with this problem and I let myself carry away by the moment. |
@gabuch2 thank you. I will look into this with the team, and we will try to get it fixed. I understand this is a frustrating issue. |
nice advice pal... but only valid if you can code... not if you're just a simple end-user... 🤔 |
It's a data loss issue at the heart of the product, which requires fundamental changes and is not something a drive-by PR would solve. Yes, people get frustrated when they lose data. It doesn't excuse rudeness, but telling people to fix it on their own isn't quite fair towards Insomnia users, especially for those who paid for subscription and just use in their testing activities. |
Is there any update or a workaround on this? |
👋 Hey everyone! |
@Theobano @gh-andre @gabuch2 @BarakAlmog @jramiresbrito @maxxyme @kate-koll and all, we have released a new Beta version that should fix this issue. @gatzjames has posted a link above in case you would like to try it. |
I battled this for a few hours, trying to just export from old computer, then import to new computer. Same symptoms with stable and beta release: Import dialog shows a lot of requests, then nowhere to be found. What finally worked was to export only 1 collection from old computer, uninstall and delete data folders on new computer, install beta, and import the 1 collection. (maybe stable version would have done this too). |
That's too bad, neither the native import feature or the plugin insomnia-plugin-gist-sync are working anymore, as others said, the import dialog shows a bunch of requests, but nothing is shown after complete. |
trying the beta with no success |
Okay just commenting here I found that confusing too, you import a request collection and it says it finds the data but then shows an error "insomnia import the provided document does not match". However, if you are in the context of a request collection it imports fine. I suggest making that a little more intuitive. |
We are re-opening the issue since it seems like this problem keeps happening, and making this our top priority. We are taking a deeper approach now, and the fact that this is happening is unacceptable. This is what we are doing so far:
@gatzjames please chime in on "insomnia import the provided document does not match" error. |
I tried the new version. The original issue of overwriting the source collection seems to be fixed, but after a few of minutes of testing, I can identify a couple of issues.
|
@gh-andre and everyone here thanks for the feedback! |
Expected Behavior
I am importing json document (originally insomnia export actually from my colleague) into a collection.
Message pops up, that I imported Workspace, Enviroments, Requests etc. I would expect to see all imported in my collection.
Actual Behavior
Message pops up, that I imported Workspace, Enviroments, Requests etc. but my new collection is in fact still empty.
Reproduction Steps
Is there an existing issue for this?
Additional Information
I also tried going through import/export by clicking on collection name; also through Preferences-Data-Import Data.
When I tried to export my own Collection and than import it back, didn't work either.
Insomnia Version
2021.6.0
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
downloaded from https://insomnia.rest/download and run as admin
Last Known Working Insomnia version
The text was updated successfully, but these errors were encountered: