# getting error while creating ticket from V3 Api

**URL:** <https://community.hubspot.com/t/getting-error-while-creating-ticket-from-v3-api/45695>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [October 21, 2021, 7:24am UTC](https://community.hubspot.com/t/getting-error-while-creating-ticket-from-v3-api/45695 "2021-10-21T07:24:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashuuas](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ashuuas](https://community.hubspot.com/u/ashuuas)\
**Post date:** [October 21, 2021, 7:24am UTC](https://community.hubspot.com/t/getting-error-while-creating-ticket-from-v3-api/45695/1 "2021-10-21T07:24:01Z")

</div>

i m getting error while creating Ticket from V3 and input json im prividing is this

{

“hs\_pipeline”: “support\_pipeline”,

“hs\_pipeline\_stage”: “open”,

“hs\_ticket\_priority”: “Low”,

“hubspot\_owner\_id”: “169525193”,

“subject”: “troubleshoot report”

}

errro message is :

{

“status”: “error”,

“message”: “Error creating TICKET. Some required properties were not set.”,

“correlationId”: “647ce681-822f-4c76-ac64-7595c4840416”,

“context”: {

“properties”: [

“hs\_pipeline\_stage”

]

},

“category”: “VALIDATION\_ERROR”

}

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [October 22, 2021, 2:10pm UTC](https://community.hubspot.com/t/getting-error-while-creating-ticket-from-v3-api/45695/2 "2021-10-22T14:10:11Z")

</div>

@ashuuas , Try changing the **hs\_pipeline** and **hs\_pipeline\_stage** values to their numeric ids.

eg:

```lia-code-sample
{
 "properties": {
 "content": null,
 "hs_pipeline": "0",
 "hs_pipeline_stage": "1",
 "subject": "new ticket"
 }
}

```

---

<div class="post-metadata">

**Author:** ![ashuuas](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ashuuas](https://community.hubspot.com/u/ashuuas)\
**Post date:** [October 25, 2021, 4:24am UTC](https://community.hubspot.com/t/getting-error-while-creating-ticket-from-v3-api/45695/3 "2021-10-25T04:24:06Z")

</div>

Yes and thankyou ..
