bruno
bruno copied to clipboard
Import collection failed
I have checked the following:
- [X] I use the newest version of bruno.
- [X] I've searched existing issues and found nothing related to my issue.
Describe the bug
.bru file to reproduce the bug
No response
Screenshots/Live demo link
Hi @Abdallah9858, please share more information and the exported JSON file for the collection you are trying to import.
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.
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
same here, before importing Postman collections were working, now it's not without any error
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.