# Forms API error on testing in Postman

**URL:** <https://community.hubspot.com/t/forms-api-error-on-testing-in-postman/12527>\
**Category:** APIs & Integrations\
**Created:** [January 21, 2019, 8:30pm UTC](https://community.hubspot.com/t/forms-api-error-on-testing-in-postman/12527 "2019-01-21T20:30:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 21, 2019, 8:30pm UTC](https://community.hubspot.com/t/forms-api-error-on-testing-in-postman/12527/1 "2019-01-21T20:30:42Z")

</div>

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/e/8e7c87597e4e07006768911851b83cc0d4a61123.png)

image.png1366×768 97.7 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/46a03bd2cd8453658cfe48eaba81e85ca1afd0e4.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/46a03bd2cd8453658cfe48eaba81e85ca1afd0e4.png))

error on testing post Api to push data to empty hubspot form

---

<div class="post-metadata">

**Author:** ![JasminLin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jasminlin/32/99730_2.png) [@JasminLin](https://community.hubspot.com/u/JasminLin)\
**Post date:** [January 22, 2019, 8:17am UTC](https://community.hubspot.com/t/forms-api-error-on-testing-in-postman/12527/2 "2019-01-22T08:17:01Z")

</div>

Hi [@Anterpreet\_Kaur](https://community.hubspot.com/u/anterpreet_kaur),

There are a few reasons why you are seeing the error based on your screenshot. The request URL you are using is incorrect, you should be doing a POST to [https://forms.hubspot.com/uploads/form/v2/:portal\_id/:form\_guid](https://forms.hubspot.com/uploads/form/v2/:portal_id/:form_guid).

You formatted the form submission details in request body as Text. You cannot pass data to the request URL in this format. You can refer to our docs here on how you should be formatting the request body for the API call: [https://developers.hubspot.com/docs/methods/forms/submit\_form](https://developers.hubspot.com/docs/methods/forms/submit_form)
