# API Subject Field Error

**URL:** <https://community.hubspot.com/t/api-subject-field-error/11658>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [November 19, 2018, 4:43pm UTC](https://community.hubspot.com/t/api-subject-field-error/11658 "2018-11-19T16:43:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![annamccarthy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/annamccarthy/32/39124_2.png) [@annamccarthy](https://community.hubspot.com/u/annamccarthy)\
**Post date:** [November 19, 2018, 4:43pm UTC](https://community.hubspot.com/t/api-subject-field-error/11658/1 "2018-11-19T16:43:41Z")

</div>

Hello,  
A client is creating a post request to this URL: ‘[https://api.hsforms.com/submissions/v3/integration/submit/1934329/2039dee6-69c3-44a7-ba06-20ebe3dd5abc](https://api.hsforms.com/submissions/v3/integration/submit/1934329/2039dee6-69c3-44a7-ba06-20ebe3dd5abc)’  
With the following JSON objects:  
'{“fields”:

[{“name”: “firstname”, “value”: “Gabriel”},

{“name”: “lastname”, “value”: “Muj”},

{“name”: “email”, “value”: “[gabriel@goalplan.com](mailto:gabriel@goalplan.com)”},

{“name”: “subject”, “value”: “Test subject”},

{“name”: “content”, “value”: “Test content”}]

}’

and is receiving this error regarding ‘Subject’ field:  
{‘status’: ‘error’,

‘message’: ‘The request is not valid’,

‘correlationId’: ‘f2359dec-7ed5-4f49-a125-0dc87e841e9d’,

‘errors’: [{‘message’: “Error in ‘fields.subject’. Required field ‘subject’ is missing”,

‘errorType’: ‘REQUIRED\_FIELD’}],

‘requestId’: ‘8b386a4479d3e86aa1dc83217fbe0667’}

They are following the protocol of this post: [https://developers.hubspot.com/docs/methods/forms/submit\_form\_v3](https://developers.hubspot.com/docs/methods/forms/submit_form_v3)

Their portal ID is: 1934329

They are not making more than 10 API requests per second, and the error appears everytime a call is made. Their ‘Ticket Name’ property looks correct as well.

The form is labeled ‘Goalplan ticket form’ and the field that is giving trouble is the ‘Issue’ field.

Does anyone have any further advice?

Thank you.

---

<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:** [November 20, 2018, 4:07pm UTC](https://community.hubspot.com/t/api-subject-field-error/11658/2 "2018-11-20T16:07:20Z")

</div>

Hi [@Anna\_McCarthy](https://community.hubspot.com/u/anna_mccarthy),

I’ll connect with you over Slack as well, but what this comes down to is that the [Forms API](https://developers.hubspot.com/docs/methods/forms/submit_form_v3) only works with _contact_ objects — not tickets.

When your customer sends this request to HubSpot, our system looks for contact properties with the internal names `subject` and `content`. These only exist in account **1934329** as _ticket_ properties, so the API returns an error.

If your customer wishes to create tickets programmatically, they should use the [Tickets API](https://developers.hubspot.com/docs/methods/tickets/tickets-overview).
