APIs & Integrations

MHenderson42
Participant

hs_pipeline_stage is missing trying to create a ticket using C#

SOLVE

I am getting an error trying to create a ticket. When I post from an .http file in VS code I get a 201 response. But the same data sent in C# returns and error indicating hs_pipeline_stage is missing.

 

 

{
    "properties": {
        "subject": "Test Ticket",
        "content": "Test Ticket",
        "hs_pipeline_stage": "10",
        "hs_pipeline": "11",
        "hs_ticket_priority": "MEDIUM"
    },
{
"status": "error",
"message": "Error creating TICKET. Some required properties were not set.",
"correlationId": "8e92bd8b-2047-4664-a347-e106954d5c62",
"context": {
"properties": [
"hs_pipeline_stage"
]
},
"category": "VALIDATION_ERROR"
}

 

 

0 Upvotes
1 Accepted solution
MHenderson42
Solution
Participant

hs_pipeline_stage is missing trying to create a ticket using C#

SOLVE

I resolved the issue (sort of) by call httpClient.PostAsync instead PostAsJsonAsync.

View solution in original post

0 Upvotes
1 Reply 1
MHenderson42
Solution
Participant

hs_pipeline_stage is missing trying to create a ticket using C#

SOLVE

I resolved the issue (sort of) by call httpClient.PostAsync instead PostAsJsonAsync.

0 Upvotes