- Edited
Hello. I am using Osticket-develop branch and I want to create tickets via API. I send
{'email': 'api@osticket.com', 'source': 'API', 'attachments': , 'alert': True, 'subject': 'Testing API', 'name': 'Angry User', 'ip': '127.0.0.1', 'phone': '3185558634X123', 'auto respond': True, 'message': 'MESSAGE HERE'}to /api/http.php/tickets.json. But I got errorb'<br />\n<b>Catchable fatal error</b>: Object of class AttachmentFile could not be converted to string in <b>\\include\\class.orm.php</b> on line <b>1638</b><br />\n'and 200 http code.Ticket is created, but here is comment : Unable to save file rather than attached files. What am i doing wrong? Thanks