[GH-ISSUE #2120] [bug]: Unable to import OpenAPI specification (Firefox) #711

Closed
opened 2026-03-16 16:49:27 +03:00 by kerem · 2 comments
Owner

Originally created by @carlreid on GitHub (Feb 15, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2120

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I attempt to "Import from OpenAPI" to create a collection, the collection is not persisted.

Only tested on Firefox 98.0b4, seems to work fine in Chrome.

Steps to reproduce

  1. Go to "Collections"
  2. Click the "Import / Export" button
    image
  3. Select "Import from OpenAPI"
  4. Select the OpenAPI file (e.g. download/save https://petstore.swagger.io/v2/swagger.json)
  5. Dialog closes instantly, unable to finalize the "Import" action

Environment

Production

Version

Cloud

Originally created by @carlreid on GitHub (Feb 15, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2120 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I attempt to "Import from OpenAPI" to create a collection, the collection is not persisted. Only tested on Firefox 98.0b4, seems to work fine in Chrome. ### Steps to reproduce 1. Go to "Collections" 2. Click the "Import / Export" button ![image](https://user-images.githubusercontent.com/33623601/154071280-af175783-4755-4f93-9258-6e01b3d728d5.png) 3. Select "Import from OpenAPI" 4. Select the OpenAPI file (e.g. download/save https://petstore.swagger.io/v2/swagger.json) 5. Dialog closes instantly, unable to finalize the "Import" action ### Environment Production ### Version Cloud
kerem 2026-03-16 16:49:27 +03:00
Author
Owner

@AndrewBastin commented on GitHub (Feb 15, 2022):

@carlreid this is a known tiny issue, we are releasing hotfix in a couple of hours, in the mean time, you can just instead of double clicking on the select file dialog, use the Open button in the select file dialog to do the Import.

Meanwhile, keeping this issue open until the hotfix becomes live.

<!-- gh-comment-id:1040286353 --> @AndrewBastin commented on GitHub (Feb 15, 2022): @carlreid this is a known tiny issue, we are releasing hotfix in a couple of hours, in the mean time, you can just instead of double clicking on the select file dialog, use the Open button in the select file dialog to do the Import. Meanwhile, keeping this issue open until the hotfix becomes live.
Author
Owner

@carlreid commented on GitHub (Feb 15, 2022):

@AndrewBastin Ah, great! I will close this then.

Edit, I missed the keep open issue, re-opened.

<!-- gh-comment-id:1040288647 --> @carlreid commented on GitHub (Feb 15, 2022): @AndrewBastin Ah, great! I will close this then. Edit, I missed the keep open issue, re-opened.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#711
No description provided.