APIs & Integrations

ashuuas
Miembro

getting error while creating ticket from V3 Api

resolver

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 Me gusta
1 Soluciones aceptada
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

getting error while creating ticket from V3 Api

resolver

@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"
    }
}

Ver la solución en mensaje original publicado

0 Me gusta
2 Respuestas 2
ashuuas
Miembro

getting error while creating ticket from V3 Api

resolver

Yes and thankyou ..

0 Me gusta
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

getting error while creating ticket from V3 Api

resolver

@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 Me gusta