You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Successful Import: The JSON collection should be imported without any errors.
Proper Rendering: The Docs tab should accurately render the imported documentation, enabling me to view details and interact with API endpoints effectively.
API Interaction: I should be able to explore and test the API endpoints included in the collection, without encountering any rendering issues or errors.
User-Friendly Experience: The imported collection should be presented in a readable and accessible format, ensuring a smooth experience for API integration and testing.
Actual Behavior
When attempting to import a JSON collection from VTEX into Insomnia, an error message appears in the Docs tab, stating:
"Failed to render: marked(): input parameter is of type [object Object], string expected. Please report this to Marked GitHub repository."
This error prevents the proper rendering and reading of the imported JSON collection, hindering the ability to view documentation or interact with API endpoints as expected. The issue seems to be related to the way Insomnia processes the imported JSON, potentially misinterpreting its structure or content.
The error message suggests a problem with the marked library used for rendering markdown in the Docs tab.
This error consistently occurs every time the collection is imported, making it difficult to utilize Insomnia for this specific API integration.
If anyone has encountered this issue before or found a solution, I would appreciate your insights. Am I missing something in my approach?
Expected Behavior
Successful Import: The JSON collection should be imported without any errors.
Proper Rendering: The Docs tab should accurately render the imported documentation, enabling me to view details and interact with API endpoints effectively.
API Interaction: I should be able to explore and test the API endpoints included in the collection, without encountering any rendering issues or errors.
User-Friendly Experience: The imported collection should be presented in a readable and accessible format, ensuring a smooth experience for API integration and testing.
Actual Behavior
When attempting to import a JSON collection from VTEX into Insomnia, an error message appears in the Docs tab, stating:
"Failed to render: marked(): input parameter is of type [object Object], string expected. Please report this to Marked GitHub repository."
This error prevents the proper rendering and reading of the imported JSON collection, hindering the ability to view documentation or interact with API endpoints as expected. The issue seems to be related to the way Insomnia processes the imported JSON, potentially misinterpreting its structure or content.
The error message suggests a problem with the marked library used for rendering markdown in the Docs tab.
This error consistently occurs every time the collection is imported, making it difficult to utilize Insomnia for this specific API integration.
If anyone has encountered this issue before or found a solution, I would appreciate your insights. Am I missing something in my approach?
Thank you!
Collection from VTEX: VTEX API Reference
Reproduction Steps
Open Insomnia.
Go to File -> Import -> From File.
Select the VTEX JSON collection file (attached below).
Navigate to the Docs tab to view the error.
Is there an existing issue for this?
Additional Information
Version: Insomnia 9.2.0
Build date: 15/05/2024
OS: Windows_NT x64 10.0.19045
Electron: 29.3.0
Node: 20.9.0
Node ABI: 121
V8: 12.2.281.27-electron.0
Architecture: x64
Insomnia Version
2024.9.2.0
What operating system are you using?
Windows
Operating System Version
Windows 10.0.19045
Installation method
https://insomnia.rest/download
Last Known Working Insomnia version
2024.9.2.0
The text was updated successfully, but these errors were encountered: