Error while importing: format not recognized

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
Error while importing: format not recognized

Details (like screenshots):

How I found the problem:

I’ve already tried:

Hi @navigation-physicis4

Not much information to go off here…

What are you trying to import? A folder or a file?
Is it an exported JSON collection or some other file?

Could you show what the content of the file in question looks like?

Yes, It’s a json file I can’t import it to postman

So what is it you are trying to import?

Is it a previously exported collection or environment?

Or just a test data file?

yes just a test data file

Pretty sure the importer looks for specific data so that it can recognise what you are importing.

When exporting files from Postman you would see this sort of stuff at the top of the file;
image

If you are just trying to pass in a random JSON data file Postman wont understand what it is or where it should live.

Data files like this should be passed in via the “Runner”;
image

Or via a Newman argument if running in command line etc.