Cannot create TIcket as solved because assignee is missing, but I am including it in the payload | Community
Skip to main content

Cannot create TIcket as solved because assignee is missing, but I am including it in the payload

  • December 11, 2023
  • 2 replies
  • 0 views

Hi,

I am trying to create tickets in Zendesk via API directly with the status as 'solved', but I keep receiving the error 'Assignee is required when solving a ticket', but as the title says I am including the assignee_id in the request payload.

Here is an example of what I am using:

{
   "ticket": {
       "type": "question",
       "priority": "",
       "status": "solved",
       "assignee_id": 14550462340498,
       "group_id": 12413024486162,
       "subject": "APP",
       "description": "Test Ticket",
       "brand_id": 11899455851026,
       "requester_id": 15273840527890,
       "submitter_id": 15273840527890
   }
}

Am I doing something wrong?

2 replies

  • Author
  • December 11, 2023

@ahmed11 you are right, the user was not associated with the group. Thank you very much for your help


Andrei19
  • August 6, 2024

@gabriel18, thank you for this question and the solution! You saved my time!