# Forms API 400 bad request with C# HttpRequest

**URL:** <https://community.hubspot.com/t/forms-api-400-bad-request-with-c-httprequest/38385>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [June 3, 2021, 10:16pm UTC](https://community.hubspot.com/t/forms-api-400-bad-request-with-c-httprequest/38385 "2021-06-03T22:16:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![DMcLellan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmclellan/32/59606_2.png) [@DMcLellan](https://community.hubspot.com/u/DMcLellan)\
**Post date:** [June 8, 2021, 9:28pm UTC](https://community.hubspot.com/t/forms-api-400-bad-request-with-c-httprequest/38385/5 "2021-06-08T21:28:42Z")

</div>

Hi again @dennisedson and thanks for the reply.

As it turned out through digging through the API docs. When submitting a post to the Forms API, the email field must validate to a real email address. I was testing submissions using [test@test.com](mailto:test@test.com) and originally [example@example.com](mailto:example@example.com) since this is what HubSpot has listed in the docs as example JSON data. It’s a bit contradictory, but that turned out to be the issue.

I appreciate your help, though.

This post can be archived and considered resolved.

---

_[View the full topic](https://community.hubspot.com/t/forms-api-400-bad-request-with-c-httprequest/38385)._
