usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
21.85k stars 1.03k forks source link

Can't Import Bruno Collection On latest Version #1868

Open Flo4604 opened 3 months ago

Flo4604 commented 3 months ago
  1. Updated to version v1.12.1 & Updated to version v1.13.1

  2. Exported Bruno Collection

  3. Tried importing

  4. Getting the following error:

    6844

Bruno Collection: Test.zip Export: test_import.json

JSSAggie commented 3 months ago

I have been struggling with getting postman collections to import with the version I installed today.

_app-1ccb54918d40d9bf.js:1 Warning: An unhandled error was caught from submitForm() ReferenceError: enableTranslation is not defined
    at handleSubmit (972-4d6d61501f147946.js:1:33071)
    at onSubmit (972-4d6d61501f147946.js:1:30860)
    at _app-1ccb54918d40d9bf.js:1:301319
    at _app-1ccb54918d40d9bf.js:1:303965
    at _app-1ccb54918d40d9bf.js:1:300594

Not sure if it is related?

JSSAggie commented 3 months ago

I have been struggling with getting postman collections to import with the version I installed today.

_app-1ccb54918d40d9bf.js:1 Warning: An unhandled error was caught from submitForm() ReferenceError: enableTranslation is not defined
    at handleSubmit (972-4d6d61501f147946.js:1:33071)
    at onSubmit (972-4d6d61501f147946.js:1:30860)
    at _app-1ccb54918d40d9bf.js:1:301319
    at _app-1ccb54918d40d9bf.js:1:303965
    at _app-1ccb54918d40d9bf.js:1:300594

Not sure if it is related?

Ignore that one is logged here https://github.com/usebruno/bruno/issues/1855

taylorwhipp-gp commented 3 months ago

For what it's worth, I'm using the desktop version and was unable to get a postman collection to import on the main screen, but when i navigated to the ellipsis menu I was able to import collections from there.

Not sure if that helps your use case.

gdnthomas commented 3 months ago

image

Same error here trying to import postman collection into bruno using appimage on aws linux 2

gdnthomas commented 3 months ago

Duplicate of https://github.com/usebruno/bruno/issues/1855

Flo4604 commented 3 months ago

Duplicate of https://github.com/usebruno/bruno/issues/1855

The issue I reported is not the same error as #1855, the comments afterwards are.

rlabrecquefsg commented 3 months ago

I was hitting this as well; this comment by taylorwhipp-gp worked for me. Though as a brand new user I find it quite concerning from like a code architecture/quality standpoint that opening the same dialog from a different location produces a different result, as well as the very first action I performed not working.

https://github.com/usebruno/bruno/issues/1868#issuecomment-2015873619

Flo4604 commented 3 months ago

I was hitting this as well; this comment by taylorwhipp-gp worked for me. Though as a brand new user I find it quite concerning from like a code architecture/quality standpoint that opening the same dialog from a different location produces a different result, as well as the very first action I performed not working.

#1868 (comment)

yeah could be, looking at the code the http type should always get transformed to http-request matching the schema

conor-carville commented 3 months ago

We are still seeing this issue on 1.12.3

armdab commented 2 months ago

Hello I have same error after updating Bruno on 1.12.3 Mac x64 version. To replicate this issue you need to export a Bruno collection and Import same Bruno collection.

Capture d’écran 2024-04-10 à 18 11 55
samc-vaarst commented 2 months ago

Same issue here

armdab commented 2 months ago

it's a big issues due our workflow. Please team, take for next release. Thanks

philippgille commented 2 months ago

Getting the same error as in OP's screenshot in v1.13.1

armdab commented 2 months ago

@sanjai0py any planed fix? I am blocked when importing Bruno collections... thanks

Flo4604 commented 2 months ago

upgrade to latest version and tried again issue is still there

mlntr commented 1 month ago

The application crashes when I try to import a Postman collection (and Insomnia collection too). I'm on version 1.17.0 on Linux.

lohxt1 commented 1 month ago

the import functionality was fixed in v1.18.0

please share the collection JSON file here if import is still an issue even after the upgrade.