Skip to main content

Agent is not required when submitting a ticket:

But I’m getting 400 Bad Request response status when attempting to create an unassigned ticket via the API:

{
  "description": "Validation failed",
  "errors": s
    {
      "field": "responder_id",
      "message": "It should be a/an Positive Integer",
      "code": "invalid_value"
    }
  ]
}

 

This old post seems to confirm responder_id is not required:

 

What am I doing wrong?

Hi @jdanyow,

 

Could you share the API call and body/payload details for which you’re receiving this error so that we can check further? Ideally, if the “Agent” field is non-mandatory for submission, then that particular error should not appear

 

Regards,

Sona 

Freshdesk, Freshchat, Freshcaller product expert

Are you interested in learning more about how our services can help add value to your business? Check out our Professional Services to know more & get started.


My fault- looks like in the create ticket API response will return a null responder_id (assigned agent) but *you cannot pass a null responder_id in the create ticket request body*.

https://developers.freshdesk.com/api/#create_ticket

 


Reply