[GH-ISSUE #5189] [bug]: Unable to import any of Github OpenAPI spec #1979

Closed
opened 2026-03-16 22:44:12 +03:00 by kerem · 7 comments
Owner

Originally created by @Leon-Luu on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5189

Originally assigned to: @anwarulislam on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

Windows

Bug Description

Hoppscotch doesn't seems to comply with all the OpenAPI spec when importing.
I had tried to import both JSON and YAML format from the Github OpenAPI description space (https://github.com/github/rest-api-description/tree/main/descriptions-next). When import any versions (3.0.X => 3.1.X) it will end up with a toast "Error while importing: format not recognized". Check the picture below

Image

  • The issue happens when import the spec as file import and url import.
  • After the toast message, no collection has been generated.

Tested on Hoppscotch.io version v2025.5.3

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @Leon-Luu on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5189 Originally assigned to: @anwarulislam on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System Windows ### Bug Description Hoppscotch doesn't seems to comply with all the OpenAPI spec when importing. I had tried to import both JSON and YAML format from the Github OpenAPI description space (https://github.com/github/rest-api-description/tree/main/descriptions-next). When import **any versions** (3.0.X => 3.1.X) it will end up with a toast "Error while importing: format not recognized". Check the picture below ![Image](https://github.com/user-attachments/assets/29a599fe-388c-4004-8d74-c05d5bbd1afd) - The issue happens when import the spec as file import and url import. - After the toast message, no collection has been generated. Tested on Hoppscotch.io version v2025.5.3 ### Deployment Type Hoppscotch Cloud ### Version _No response_
kerem 2026-03-16 22:44:12 +03:00
Author
Owner

@anwarulislam commented on GitHub (Jun 24, 2025):

Hi @Leon-Luu, thank you for bringing this to our attention!

By the way, I tried importing multiple files (JSON/YAML) on hoppscotch.io from there, and it worked perfectly without any error messages. Could you please send me the specific JSON/YAML that is causing the error?

<!-- gh-comment-id:3001613346 --> @anwarulislam commented on GitHub (Jun 24, 2025): Hi @Leon-Luu, thank you for bringing this to our attention! By the way, I tried importing multiple files (JSON/YAML) on [hoppscotch.io](hoppscotch.io) from [there](https://github.com/github/rest-api-description/tree/main/descriptions-next), and it worked perfectly without any error messages. Could you please send me the specific JSON/YAML that is causing the error?
Author
Owner
<!-- gh-comment-id:3003685122 --> @Leon-Luu commented on GitHub (Jun 25, 2025): Hi @anwarulislam Some examples: 1) https://github.com/github/rest-api-description/tree/main/descriptions-next/ghes-3.9 => https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions-next/ghes-3.9/ghes-3.9.yaml https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions-next/ghes-3.9/ghes-3.9.json 2) https://github.com/github/rest-api-description/tree/main/descriptions-next/ghes-3.0 => https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions-next/ghes-3.0/ghes-3.0.yaml https://raw.githubusercontent.com/github/rest-api-description/refs/heads/main/descriptions-next/ghes-3.0/ghes-3.0.json
Author
Owner

@anwarulislam commented on GitHub (Jun 25, 2025):

@Leon-Luu I attempted to import them, and it is functioning correctly.

With URL

https://github.com/user-attachments/assets/a6424ac2-24fe-4074-b70f-0b31d9e07578

With File

https://github.com/user-attachments/assets/6a6dba81-d0dd-4588-9d0a-f64070efc631

<!-- gh-comment-id:3003703335 --> @anwarulislam commented on GitHub (Jun 25, 2025): @Leon-Luu I attempted to import them, and it is functioning correctly. #### With URL https://github.com/user-attachments/assets/a6424ac2-24fe-4074-b70f-0b31d9e07578 #### With File https://github.com/user-attachments/assets/6a6dba81-d0dd-4588-9d0a-f64070efc631
Author
Owner

@Leon-Luu commented on GitHub (Jun 25, 2025):

Hi @anwarulislam I just tested on Edge browser and it works correctly. The issue seems to be on Chrome specific only

<!-- gh-comment-id:3003741290 --> @Leon-Luu commented on GitHub (Jun 25, 2025): Hi @anwarulislam I just tested on Edge browser and it works correctly. The issue seems to be on Chrome specific only
Author
Owner

@anwarulislam commented on GitHub (Jun 25, 2025):

Hi @anwarulislam I just tested on Edge browser and it works correctly. The issue seems to be on Chrome specific only

Thank you for keeping us informed! I'm using a Chromium browser, and I also checked on Chrome. Everything is working perfectly for me on Chrome as well.

<!-- gh-comment-id:3003755761 --> @anwarulislam commented on GitHub (Jun 25, 2025): > Hi [@anwarulislam](https://github.com/anwarulislam) I just tested on Edge browser and it works correctly. The issue seems to be on Chrome specific only Thank you for keeping us informed! I'm using a Chromium browser, and I also checked on Chrome. Everything is working perfectly for me on Chrome as well.
Author
Owner

@Leon-Luu commented on GitHub (Jun 25, 2025):

@anwarulislam Check with Windows 11 + Chrome combo?
I am using Chrome Version 137.0.7151.120 (Official Build) (64-bit)

<!-- gh-comment-id:3003762114 --> @Leon-Luu commented on GitHub (Jun 25, 2025): @anwarulislam Check with Windows 11 + Chrome combo? I am using Chrome Version 137.0.7151.120 (Official Build) (64-bit)
Author
Owner

@FreeSoftwareServers commented on GitHub (Dec 29, 2025):

I faced this same issue btw, on both chrome and edge (Win10). I was able to upload to self hosted. This might be due to a timeout or something? It shows "Completed" w/ all the correct number but I get an error about format not recognized.... I was going to use the cloud version likely due to my own issues w/ setup --> https://github.com/hoppscotch/hoppscotch/issues/5737 but might just chose self hosted if I can't get OpenAPI collections imported into web as that was my main goal when migrating away from Insomnia (they work in Insomnia, but caused crash/lag)

<!-- gh-comment-id:3697605893 --> @FreeSoftwareServers commented on GitHub (Dec 29, 2025): I faced this same issue btw, on both chrome and edge (Win10). I was able to upload to self hosted. This might be due to a timeout or something? It shows "Completed" w/ all the correct number but I get an error about format not recognized.... I was going to use the cloud version likely due to my own issues w/ setup --> https://github.com/hoppscotch/hoppscotch/issues/5737 but might just chose self hosted if I can't get OpenAPI collections imported into web as that was my main goal when migrating away from Insomnia (they work in Insomnia, but caused crash/lag)
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#1979
No description provided.