Creating "Ticket Articles" by api retrun "Unprocessable Entity"

Infos:

  • Used Zammad version: 3.7
  • Used Zammad installation source: (source)
  • Operating system: ubuntu
  • Browser + version:

Expected behavior:

*Status: 201 Created

Actual behavior:

  • Error: 422 Unprocessable Entity

Steps to reproduce the behavior:

POST /api/v1/ticket_articles

{
“ticket_id”: 3,
“subject”: “some subject”,
“body”: “some text”,
“content_type”: “text/plain”,
“type”: “note”,
“internal”: false,
“internal”: false,
“type”: “note”,
“sender”: “Customer”,
“sender_id”:36

}

Did you have a look into your production.log (/var/log/zammad/)?

The reason most of the times can be found there.
Please also note that customers cannot create all articles types, not may be wrong on this regard.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.