I'm trying to create a ticket with attachments using freshdesk create ticket API, but getting the following error message from freshdesk. Happens only when ticket is created with attachments.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <title>We're sorry, but something went wrong (500)</title>
 </head>
 <body>
 <div class="wrapper">
   <i class="hero-image"></i>
  <div class="content">
    <h2>We're sorry, but something went wrong.</h2>
    <p>We've been notified about this issue and we'll take a look at it shortly.</p>
   </div>
  </div>