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 collection failed #2298

Open
2 tasks done
Abdallah9858 opened this issue May 13, 2024 · 5 comments
Open
2 tasks done

Import collection failed #2298

Abdallah9858 opened this issue May 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Abdallah9858
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Screenshot from 2024-05-13 11-52-34

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Screenshot from 2024-05-13 11-52-34

@Abdallah9858 Abdallah9858 added the bug Something isn't working label May 13, 2024
@sanjai0py
Copy link
Collaborator

Hi @Abdallah9858, please share more information and the exported JSON file for the collection you are trying to import.

@rgembalik
Copy link

I am not sure if this is connected, but I've seen similar issue for postman collection shared from their server. If you share and download the collection via link (as one of my colleagues did), then the resulting file had this structure:

{
  "collection": {
    "info": {
      "_postman_id": "some-id",
      "name": "somename",
      "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
      "updatedAt": "2024-05-09T08:24:07.000Z",
      "uid": "123123123-some-id",
      "createdAt": null,
      "lastUpdatedBy": null
    },
    "item": [...]
  }
}

The schema version looked like it should be supported, so just for the sake of it, I removed the first level (replacing {"collection": {...}} with just {...}) and the import worked.

@Abdallah9858
Copy link
Author

Hi @Abdallah9858, please share more information and the exported JSON file for the collection you are trying to import.

What kind of information you need me to share ? Thanks

@MrFishchev
Copy link

same here, before importing Postman collections were working, now it's not without any error

@MrFishchev
Copy link

same here, before importing Postman collections were working, now it's not without any error

Ok, for me it was a firewall it didn't let Bruno to write to some folders. I selected Location in a home folder and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants