# Why i cant import json file

**URL:** <https://community.postman.com/t/why-i-cant-import-json-file/581>\
**Category:** Help Hub\
**Created:** [December 29, 2017, 9:28am UTC](https://community.postman.com/t/why-i-cant-import-json-file/581 "2017-12-29T09:28:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![huwaina](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@huwaina](https://community.postman.com/u/huwaina)\
**Post date:** [December 29, 2017, 9:28am UTC](https://community.postman.com/t/why-i-cant-import-json-file/581/1 "2017-12-29T09:28:28Z")

</div>

Hi,

Why json file cannot be imported in postman? The error msg is failed to import data, format not recognized.

---

<div class="post-metadata">

**Author:** ![Chris](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chris/32/6637_2.png) [@Chris](https://community.postman.com/u/Chris)\
**Post date:** [December 29, 2017, 11:12pm UTC](https://community.postman.com/t/why-i-cant-import-json-file/581/2 "2017-12-29T23:12:05Z")

</div>

Hi @huwaina,

It’s difficult to say without some more information, but the main reason why the error is thrown is because the `JSON` file that’s being imported doesn’t follow our [schema](http://schema.getpostman.com/) for collections.

Here’s a link to our documentation on importing/validating files (it’s the last bit at the bottom) – [https://www.getpostman.com/docs/postman/collections/data\_formats](https://www.getpostman.com/docs/postman/collections/data_formats)

If our schema is being followed, but the import is still throwing the same error, it may be a bigger issue. If that’s the case, let me know.

Best,  
Chris

---

<div class="post-metadata">

**Author:** ![reduxdj](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/reduxdj/32/2558_2.png) [@reduxdj](https://community.postman.com/u/reduxdj)\
**Post date:** [August 15, 2019, 3:18pm UTC](https://community.postman.com/t/why-i-cant-import-json-file/581/3 "2019-08-15T15:18:58Z")

</div>

I found an issue with an extra comma after headerPresets, which was making the JSON invalid. IF you have the same problem, just remove it.

---

<div class="post-metadata">

**Author:** ![tmccann](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tmccann/32/3550_2.png) [@tmccann](https://community.postman.com/u/tmccann)\
**Post date:** [August 15, 2019, 6:25pm UTC](https://community.postman.com/t/why-i-cant-import-json-file/581/4 "2019-08-15T18:25:15Z")

</div>

I have found using a Linter can help detect errors with bad JSON.  
Check out something like [https://jsonlint.com/](https://jsonlint.com/)

---

<div class="post-metadata">

**Author:** ![priyanka\_1103](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@priyanka\_1103](https://community.postman.com/u/priyanka_1103)\
**Post date:** [April 12, 2022, 5:14am UTC](https://community.postman.com/t/why-i-cant-import-json-file/581/5 "2022-04-12T05:14:17Z")

</div>

For me Json is valid still not working
