# Can't import raw text request to postman

**URL:** <https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [November 1, 2024, 6:47am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713 "2024-11-01T06:47:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacecraft-geologist](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@spacecraft-geologist](https://community.postman.com/u/spacecraft-geologist)\
**Post date:** [November 1, 2024, 6:47am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/1 "2024-11-01T06:47:47Z")

</div>

Hi guys, I always can’t import raw text request to postman, is there anyone know how to fix it, thanks!

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/9/d94d1c0657d9bc7065cd568e8bf09d9c36b11189.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 1, 2024, 8:46am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/2 "2024-11-01T08:46:16Z")

</div>

Hey @spacecraft-geologist 👋🏻

Welcome to the Postman Community :postman:

That’s not a valid format that the import feature will parse and create an element within the Platform.

Do you have a cURL statement for the same request?

---

<div class="post-metadata">

**Author:** ![spacecraft-geologist](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@spacecraft-geologist](https://community.postman.com/u/spacecraft-geologist)\
**Post date:** [November 1, 2024, 9:01am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/3 "2024-11-01T09:01:45Z")

</div>

Hi  
I don’t have cURL, I tried many different HTTP request before but alway got the same result, so what is the correctly format pls?  
Thanks

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 1, 2024, 9:17am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/4 "2024-11-01T09:17:09Z")

</div>

The link next to the error message in the UI will lead you to the learning center page which has that information.

> **[Data import and export in Postman | Postman Learning Center](https://learning.postman.com/docs/getting-started/importing-and-exporting/importing-and-exporting-overview/#importing-data-into-postman)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

The import feature only accepts a certain type of input and will not convert all formats.

---

<div class="post-metadata">

**Author:** ![spacecraft-geologist](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@spacecraft-geologist](https://community.postman.com/u/spacecraft-geologist)\
**Post date:** [November 1, 2024, 9:24am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/5 "2024-11-01T09:24:16Z")

</div>

It doesn’t work for me but thanks.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 1, 2024, 10:11am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/6 "2024-11-01T10:11:11Z")

</div>

I’m not really sure what you mean by that 😅

The accepted formats are cURL statements, Collection, Environments, Globals, API Definitions and data dumps (That have been exported from Postman).

It’s not something that accepts any format you throw in there, it need to be able to parse the input and create the Postman element(s) from that information.

You could create a new request and add those details:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/7/b75e47ba81ce2f2f222b1a8eb35eebfc43a97ba2.png)

Using the Headers _Bulk Edit_ option, you can paste those values in and populate the Request Headers:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/7/37cf71d7b3d8702632f4d94ed69c51a4ba09f538.png)

You could also use Postbot or another online tool to convert that HTTP statement to cURL to import it:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/b/4b1389afa3e2875889d11d674d68460322751f31.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 1, 2024, 10:11am UTC](https://community.postman.com/t/cant-import-raw-text-request-to-postman/70713/7 "2024-12-01T10:11:55Z")

</div>

Closed on December 1, 2024, 10:11am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
