422 - Unprocessable Entity returned from call to [POST] invoices/55126/send_email

Hi David

Here is the http request in postbin.

Let me know if you need anything else

{

“method”: “POST”,

“headers”: {

“host”: “postb.in”,

“connection”: “close”,

“accept”: “application/json, application/xml, text/json, text/x-json, text/javascript, text/xml”,

“user-agent”: “RestSharp/105.2.3.0”,

“content-type”: “application/json”,

“accept-encoding”: “gzip, deflate”,

“connect-time”: “0”,

“total-route-time”: “0”,

“content-length”: “368”

},

“query”: {},

“body”: {

“invoice”: {

“email”: {

“to”: "james@atlascode.com",

“from”: "admin@informdirect.co.uk",

“subject”: “Inform Direct Invoice 2000003881 for your records”,

“body”: "Thank you for using Inform Direct. Please find attached an invoice for your records. The sum due has been paid. Thank you. Kind regards The Inform Direct team ",

“email_to_sender”: true

}

}

},

“ip”: “81.150.186.196”,

“binId”: “SLPIPGSk”,

“inserted”: 1541514968403,

“reqId”: “RI2FTROo”

}