Hi
I am trying to import collections/data from Insomnia V4 and when I try to import in Postman V7 as JSON format, it throws Error while importing: format not recognized
I tried to google it did not find any solution, anyone has any idea ?
Thanks
Hi
I am trying to import collections/data from Insomnia V4 and when I try to import in Postman V7 as JSON format, it throws Error while importing: format not recognized
I tried to google it did not find any solution, anyone has any idea ?
Thanks
same here
i’d love use insomnia workspace on postman
Hey @charliehay,
Welcome to the community!
The structure of the Insomnia Workspace export would be different from the structure of a Postman Collection and that’s why you would see that error, as Postman doesn’t recognise that format.
I created an example request for each tool to show the structures.
Postman Collection Export:
{
"info": {
"_postman_id": "eddd54d2-57ec-49ec-b348-5d915ec942bb",
"name": "Postman Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Basic Request",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://httpbin.org/headers",
"protocol": "https",
"host": [
"httpbin",
"org"
],
"path": [
"headers"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}
Insomnia Export
{
"_type": "export",
"__export_format": 4,
"__export_date": "2020-02-12T16:48:53.107Z",
"__export_source": "insomnia.desktop.app:v7.1.0",
"resources": [
{
"_id": "req_6a94f652f67c40fcbdb9dc0d1e57ff85",
"authentication": {
},
"body": {
},
"created": 1581526074739,
"description": "",
"headers": [
],
"isPrivate": false,
"metaSortKey": -1581526074739,
"method": "GET",
"modified": 1581526089641,
"name": "Basic Request",
"parameters": [
],
"parentId": "wrk_aaae1e67004349d587bad603453cbd2d",
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingFollowRedirects": "global",
"settingRebuildPath": true,
"settingSendCookies": true,
"settingStoreCookies": true,
"url": "https://httpbin.org/headers",
"_type": "request"
},
{
"_id": "wrk_aaae1e67004349d587bad603453cbd2d",
"created": 1555332124171,
"description": "",
"modified": 1555332124171,
"name": "Insomnia",
"parentId": null,
"_type": "workspace"
},
{
"_id": "env_6fdc7915e3b74890bf2b076a655560e2",
"color": null,
"created": 1555332124197,
"data": {
},
"dataPropertyOrder": null,
"isPrivate": false,
"metaSortKey": 1555332124197,
"modified": 1555332124197,
"name": "New Environment",
"parentId": "wrk_aaae1e67004349d587bad603453cbd2d",
"_type": "environment"
},
{
"_id": "jar_78d6c35434074e05bbf3fca3d2280771",
"cookies": [
{
"creation": "2019-05-29T08:51:01.370Z",
"domain": "typicode.com",
"expires": "2020-05-28T08:51:01.000Z",
"hostOnly": false,
"httpOnly": true,
"id": "6882092353170246",
"key": "__cfduid",
"lastAccessed": "2019-05-29T08:51:01.370Z",
"path": "/",
"value": "d3eaa31a17cc109f04194acd4222d76bb1559119861"
},
{
"creation": "2019-07-09T07:02:38.429Z",
"domain": "postman-echo.com",
"hostOnly": true,
"httpOnly": true,
"id": "3421816091683241",
"key": "sails.sid",
"lastAccessed": "2019-09-24T14:14:29.905Z",
"path": "/",
"value": "s%3AJ9PBFvEUaP2uSvdf-7Vt1Ipq2c5N6Uai.cGTGQuAtDApDhVP6w7gzH9MwdPApwV1MC9Tgsl0EmJw"
},
{
"creation": "2019-12-10T16:40:19.772Z",
"domain": "randomuser.me",
"expires": "2020-01-09T16:40:19.000Z",
"hostOnly": false,
"httpOnly": true,
"id": "3513056137057744",
"key": "__cfduid",
"lastAccessed": "2019-12-10T16:40:19.772Z",
"path": "/",
"value": "d29efeb71be9c3893ed1d7492fabe958f1575996019"
}
],
"created": 1555332124199,
"modified": 1575996019773,
"name": "Default Jar",
"parentId": "wrk_aaae1e67004349d587bad603453cbd2d",
"_type": "cookie_jar"
}
]
}
You could use services like https://www.apimatic.io/ to transform a Insomnia export file into a Postman Collection, once converted, these can be imported and used in Postman.
Nice, bro. Thanks for that.
Thanks …! that is helpful
Here is the exact link (Click here) If anyone searching for the exact link according to the accepted solution
You can also use this git-hub project: GitHub - Vyoam/InsomniaToPostmanFormat: Convert Insomnia request data to Postman-compatible format - Worked for me…
@samuel.weber.swe Welcome to the community
Thanks for sharing this! I hope this helps someone somewhere
Now you can export it as HAR - HTTP Archive Format and import it to Postman. Worked for me
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.