mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4557] [bug]: "Error while importing: format not recognized" when import OpenApi json from URL #1675
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VTrngNghia on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4557
Is there an existing issue for this?
Current behavior
My local service generates OpenAPI docs on a local-deployed URL:
http://localhost:8183/elastic-searcher/api-docsHere's what it looks like
Steps to reproduce
Import/ExportImport from OpenAPIImport from URLhttp://localhost:8183/elastic-searcher/api-docsEnvironment
Release
Version
Cloud
@liyasthomas commented on GitHub (Dec 2, 2024):
We're looking into the issue and will provide updates soon. Thanks for your patience and understanding.
@EmperorArthur commented on GitHub (Feb 24, 2025):
I experienced this same issue. Here are my findings:
@yevheniidehtiar commented on GitHub (Mar 19, 2025):
Had the same issue. In my case it was resource that only available behind proxy.
If it has issue by importing from URL - first try to download openapi.json and import it as file.
But I would agree error description is indeed wrong and gives false positive thoughts about the root cause.
Would be nice to explicit error message for cases, when remote url response is not 200 and content-type not application/json or any similar solution.