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

Import of Collections results in Error: New Requests missing parentId #8424

Open
2 of 4 tasks
hi2avinash opened this issue Feb 27, 2025 · 2 comments · May be fixed by #8442
Open
2 of 4 tasks

Import of Collections results in Error: New Requests missing parentId #8424

hi2avinash opened this issue Feb 27, 2025 · 2 comments · May be fixed by #8442
Assignees
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer

Comments

@hi2avinash
Copy link

Expected Behavior

The insomnia import tool ought to have imported the entire collection set without throwing any errors.

Actual Behavior

The import fails with the message. Error: New Requests missing 'parentId'. Noticed that in the JSON file, the parentId for "workspace" resources types was null. Tried to replace the "parentId": null with "parentId": "proj_scratchpad" but that didn't help.

Reproduction Steps

  1. Launched Insomnia 10.3.1 on my corporate laptop having Windows 11
  2. Logged into Insomnia account
  3. Exported the entire collections under the sole insomnia project. There are ~20 workspaces. A ~76 MB JSON file was created
  4. The laptop was reset/reimaged
  5. Reinstalled Insomnia after laptop was re-imaged.
  6. Launched Insomnia 10.3.1 and logged in
  7. Proceeded to import the Collection

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

Image
Image
Image
Image
Image
Image

Insomnia Version

10.3.1

What operating system are you using?

Windows

Operating System Version

Windows 11 Enterprise 24H2, OS Build 26100.3194, Windows Feature Experience Pack 1000.26100.48.0

Installation method

download from insomnia site

Last Known Working Insomnia version

10.3.1

@hi2avinash hi2avinash added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Feb 27, 2025
@hi2avinash
Copy link
Author

It only managed to import requests from one collection "TAZ" for which it initially reported error during import. Requests from other collections are missing.

@notjaywu notjaywu added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels Mar 4, 2025
@morales2k
Copy link

morales2k commented Mar 5, 2025

I've also come across this issue. Importing from an export I made in oct. 2024.

I had 2 versions of that export (json & yaml) both report the same issue:

Error: New Requests missing `parentId`

Just as described by @hi2avinash, only a few requests are imported, then all subsequent collections end up empty.

Here's the source version: __export_source: insomnia.desktop.app:v2022.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants