APIs & Integrations

ashuuas
Member

getting error while creating ticket from V3 Api

SOLVE

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"
}
0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

getting error while creating ticket from V3 Api

SOLVE

@ashuuas , Try changing the hs_pipeline and hs_pipeline_stage values to their numeric ids.

eg:

{
    "properties": {
        "content": null,
        "hs_pipeline": "0",
        "hs_pipeline_stage": "1",
        "subject": "new ticket"
    }
}

View solution in original post

0 Upvotes
2 Replies 2
ashuuas
Member

getting error while creating ticket from V3 Api

SOLVE

Yes and thankyou ..

0 Upvotes
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

getting error while creating ticket from V3 Api

SOLVE

@ashuuas , Try changing the hs_pipeline and hs_pipeline_stage values to their numeric ids.

eg:

{
    "properties": {
        "content": null,
        "hs_pipeline": "0",
        "hs_pipeline_stage": "1",
        "subject": "new ticket"
    }
}
0 Upvotes