mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4585] [bug]: OpenAPI import fails with error "format not recognized" #1691
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#1691
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 @schanjan on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4585
Is there an existing issue for this?
Current behavior
When I try to import an OpenAPI specification JSON, I get the following error:


The file is about 2MB in size. The import of the same works fine on Postman:
I don't have any details on why it is failing on Hoppscotch as the only thing I have is the error message above. No logs in the console as well.
OpenAPI version: 3.0.2
Steps to reproduce
Import the OpenAPI JSON file via file upload as proposed in the wizard.
I am not able to share the OpenAPI publicly here, but would definitely offer it for recreation purpose. Please contact me in that case.
Environment
Production
Version
Cloud
@amk-dev commented on GitHub (Dec 3, 2024):
@schanjan do you have a sample spec that can reproduce this issue ?
@schanjan commented on GitHub (Dec 3, 2024):
Please find the somewhat anonymized OpenAPI attached.
metadata.openapi3.json
@amk-dev commented on GitHub (Dec 4, 2024):
@schanjan thank you! looking in to this. will keep you posted
@anwarulislam commented on GitHub (May 18, 2025):
Hi @schanjan,
I attempted to import the JSON, and it's working perfectly! Could you please confirm?
@schanjan commented on GitHub (May 20, 2025):
Hi @anwarulislam
I was able to import the json successfully in a private window / new hoppscotch account.
However, in my existing account, I still receive the above mentioned error.
Not sure you want to follow this, I am working with individually copying the requests I need. It is not of such high priority.
@MSP-Stev commented on GitHub (Jun 20, 2025):
For self-hosted user
I had the same issue with AIO installation + reverse proxy (nginx)
Console showed:
Fix:
Increase client max body size and reload/restart nginx