Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import OpenAPI spec (fio bank) #7885

Open
1 task done
verglor opened this issue Aug 28, 2024 · 8 comments
Open
1 task done

Cannot import OpenAPI spec (fio bank) #7885

verglor opened this issue Aug 28, 2024 · 8 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@verglor
Copy link

verglor commented Aug 28, 2024

Expected Behavior

Importing https://developers.fio.cz/v3/api-docs-production.json should succeed.

Actual Behavior

The following error is displayed instead:

TypeError: Failed to fetch at file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:1300:1707 at xSe (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:134:11346) at Module.l (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/import-CHi2A4P6.js:1:438) at async file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:56:4454 at async Qye (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:56:4904) at async Promise.all (index 2) at async Jye (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:56:3552) at async nt (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:55:26806) at async et (file:///C:/Users/jako/AppData/Local/insomnia/app-9.3.3/resources/app.asar/mainWindow-DiEbH_aZ.js:55:23473)

Reproduction Steps

  1. Go to workspace
  2. Click Create > Import > Url
  3. Type https://developers.fio.cz/v3/api-docs-production.json into Url input box.
  4. Click Scan button

Is there an existing issue for this?

Additional Information

If I first download the spec and import as file it succeed but without any collection.

Insomnia Version

9.3.3

What operating system are you using?

Windows

Operating System Version

10.0.19045.4780

Installation method

winget

Last Known Working Insomnia version

No response

@verglor verglor added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Aug 28, 2024
@CurryYangxx
Copy link
Member

Hi @verglor , this seems related to the electron issue: electron/electron#29984, developers.fio.cz URL requires a client certification, and then electron throws an error.
You can download this JSON, and choose file import.

@verglor
Copy link
Author

verglor commented Aug 29, 2024

Thanks @CurryYangxx, but as I mentioned in additional info if I first download the spec and import as file it succeed but without any collection.

@verglor
Copy link
Author

verglor commented Aug 29, 2024

Missing endpoints in collection is actually general problem already reported in #6547.

@notjaywu
Copy link
Contributor

@verglor You can generate the collection manually

image

@verglor
Copy link
Author

verglor commented Aug 30, 2024

Thanks @notjaywu! This makes #6547 much less severe. 😉

@notjaywu
Copy link
Contributor

Thanks! I'll close this issue.

@verglor
Copy link
Author

verglor commented Aug 30, 2024

Hi @notjaywu, but this issue is rather about importing from URL, so maybe you could rather close #6547 but leave this open until mentioned electron issue solves this one.

@notjaywu
Copy link
Contributor

Hi @notjaywu, but this issue is rather about importing from URL, so maybe you could rather close #6547 but leave this open until mentioned electron issue solves this one.

Yes, good point. Reopen to track the Electron API issue.

@notjaywu notjaywu reopened this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

3 participants