# Form Validation

**URL:** <https://community.hubspot.com/t/form-validation/110364>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [June 28, 2024, 4:13pm UTC](https://community.hubspot.com/t/form-validation/110364 "2024-06-28T16:13:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ocomua](https://avatars.discourse-cdn.com/v4/letter/o/db5fbb/32.png) [@Ocomua](https://community.hubspot.com/u/Ocomua)\
**Post date:** [June 28, 2024, 4:13pm UTC](https://community.hubspot.com/t/form-validation/110364/1 "2024-06-28T16:13:40Z")

</div>

Why am i not getting an error when I try to submit a hubspot form using [https://api.hsforms.com/submissions/v3/integration/submit](https://api.hsforms.com/submissions/v3/integration/submit) with invalid email. The response is The form is submitted but the contact is not created. How can I catch such an error?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 28, 2024, 8:38pm UTC](https://community.hubspot.com/t/form-validation/110364/2 "2024-06-28T20:38:43Z")

</div>

Hey, @Ocomua 👋 I am getting a similar non-error response. Can you share your request body?

For my test, I sent an email address of random character and one using only “m” and it gave me the response of

```lia-code-sample
{
 "inlineMessage": "Thanks for submitting the form."
}

```

Request body example I used

```lia-code-sample
{
 "fields": [
 {
 "objectTypeId": "0-1",
 "name": "email",
 "value": "m"
 },
 {
 "objectTypeId": "0-1",
 "name": "multi_2",
 "value": "D"
 }
 ]
}

```

Please note, there will be a delay in response due to HubSpot’s Week of Rest which runs July 1-5.

Thanks! — Jaycee

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [June 30, 2024, 3:51am UTC](https://community.hubspot.com/t/form-validation/110364/3 "2024-06-30T03:51:31Z")

</div>

Hey @Ocomua [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

This is a bug! I’ve verified this with both the authenticated and unauthenticated form endpoints, as well as making the email field required/not.

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) hopefully we can get this elevated to the stand by team!
