freshworks / fresh-samples

Samples of code created by freshdesk
184 stars 181 forks source link

Ruby create ticket with attachment #31

Closed yovasx2 closed 8 years ago

yovasx2 commented 8 years ago

This function create ticket with attachment is returning this from the API:

API Error: Your request is not successful. If you are not able to debug this error properly, mail us at support@freshdesk.com with the follwing X-Request-Id X-Request-Id : 47a8b273e978a8715b83cd62321fc32f Response Code: 400 Response Body: {"description":"Validation failed","errors":[{"field":"description_html","message":"Unexpected/invalid field in request","code":"invalid_field"}]} => nil

So I think the field need to be just description