# Form submit data 500

**URL:** <https://community.hubspot.com/t/form-submit-data-500/14726>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [June 11, 2019, 6:34am UTC](https://community.hubspot.com/t/form-submit-data-500/14726 "2019-06-11T06:34:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matteomomo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matteomomo/32/79091_2.png) [@matteomomo](https://community.hubspot.com/u/matteomomo)\
**Post date:** [June 11, 2019, 6:34am UTC](https://community.hubspot.com/t/form-submit-data-500/14726/1 "2019-06-11T06:34:52Z")

</div>

Hi,  
I am trying to submit a form data using “Submit data form” API:  
[https://developers.hubspot.com/docs/methods/forms/submit\_form\_v3](https://developers.hubspot.com/docs/methods/forms/submit_form_v3)  
I am new to HubSpot API but it keeps giving me 500 error without any further informations and I can’t find the reason why in your documentation.  
This is the error response:

```auto
{
"status":"error",
"message":"An internal server error occurred",
"correlationId":"db4d0f85-e646-46d2-975c-fe1166628677",
"requestId":"f931c0eb-346e-4f55-94aa-df424bf07b9e"
}

```

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [June 12, 2019, 2:40pm UTC](https://community.hubspot.com/t/form-submit-data-500/14726/2 "2019-06-12T14:40:02Z")

</div>

Welcome, @matteomomo.

Happy to help. To troubleshoot effectively, though, I’ll need more information than the error response. Would you share:

1. The _full_ request URL you used, including the method.
2. The raw JSON request body, including any headers.

---

<div class="post-metadata">

**Author:** ![matteomomo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matteomomo/32/79091_2.png) [@matteomomo](https://community.hubspot.com/u/matteomomo)\
**Post date:** [June 12, 2019, 4:48pm UTC](https://community.hubspot.com/t/form-submit-data-500/14726/3 "2019-06-12T16:48:55Z")

</div>

Hi, thank you for your help.

Changing http client to cURL fixed my issue.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [June 12, 2019, 4:55pm UTC](https://community.hubspot.com/t/form-submit-data-500/14726/4 "2019-06-12T16:55:27Z")

</div>

Glad to hear it, @matteomomo!
