# 422 Unprocessable Content Error

**URL:** <https://community.postman.com/t/422-unprocessable-content-error/38692>\
**Category:** Help Hub\
**Created:** [August 30, 2022, 11:06am UTC](https://community.postman.com/t/422-unprocessable-content-error/38692 "2022-08-30T11:06:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![beckydodd](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@beckydodd](https://community.postman.com/u/beckydodd)\
**Post date:** [August 30, 2022, 11:06am UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/1 "2022-08-30T11:06:33Z")

</div>

Hi everyone, I am very new to using Postman for software testing, so please bear with me! I am trying to send a POST request to an API endpoint, however I am receiving a 422 Unprocessable content error. I checked the console, and it is showing:

I’ve already tried running through the documentation regarding this in the support centre, but unfortunately that didn’t help

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 30, 2022, 11:08am UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/2 "2022-08-30T11:08:46Z")

</div>

@beckydodd

Can you please include screenshots or details of your request (including the header) redacted as appropriate.

Its probably an issue with the body\content type.

---

<div class="post-metadata">

**Author:** ![beckydodd](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@beckydodd](https://community.postman.com/u/beckydodd)\
**Post date:** [August 30, 2022, 11:14am UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/4 "2022-08-30T11:14:33Z")

</div>

![postman 1 (2)](https://us1.discourse-cdn.com/getpostman/original/2X/2/2210b813ab80cb5d5445be428fde8cdfd2b1851b.jpeg)  
 ![Postman 2 (2)](https://us1.discourse-cdn.com/getpostman/original/2X/5/5b0553aefad5c50837e585ce3ecc5a245e2a4d45.jpeg)

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 30, 2022, 11:31am UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/5 "2022-08-30T11:31:12Z")

</div>

@beckydodd

You have application\json in the header.

Therefore, shouldn’t the body, be raw which will then allow you to select JSON.  
The drop down for JSON\XML, etc won’t appear unless you have raw selected.

Example from the Learning Center.

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

The content type and the body must match, and the API must support it, so its usually a case of finding out what the API will accept in the first instance.

---

<div class="post-metadata">

**Author:** ![beckydodd](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@beckydodd](https://community.postman.com/u/beckydodd)\
**Post date:** [August 30, 2022, 12:28pm UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/6 "2022-08-30T12:28:53Z")

</div>

Thank you for the advice. I’ve changed the body to raw and entered the JSON, however it’s still returning the same error.

I think I need to do more digging and check with the developers what the API will accept

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 30, 2022, 12:53pm UTC](https://community.postman.com/t/422-unprocessable-content-error/38692/7 "2022-08-30T12:53:07Z")

</div>

@beckydodd

If you don’t have access to the developer, another option if you have access to the front end UI is to use the “Capture Requests” feature in Postman.

You turn on the feature, perform the action you want to record in the browser, and then stop the recording.

This should generate a list of request\responses that you can review. This should show you the headers, and content type required.

This is useful if you don’t have a documented API or access to a DEV.

This is achieved by a Chrome plugin and the Postman desktop app. You need to run the desktop app as an admin otherwise it won’t automatically install the bridge between the desktop app and the Chrome plugin. (It’s not enough for you to be an admin on the machine, you need to run Postman as admin). This is for Windows.

> **[Using Postman Interceptor | Postman Learning Center](https://learning.postman.com/docs/sending-requests/capturing-request-data/interceptor/)**
>
> Using Postman Interceptor: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.

This is another option.

> **[Capturing HTTP requests | Postman Learning Center](https://learning.postman.com/docs/sending-requests/capturing-request-data/capturing-http-requests/)**
>
> Capturing HTTP requests: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.
