Adding audio file attachment in put


I have used the above method to update the created ticket in freshservice.i can able to create a ticket but cannot able to update the ticket with custom fields and audio file attachments from freshcaller. while updating the error populates as
'Error while substituting the there is a anyway to update without using fs