Hi Joe,
I think I can see the 403 errors in our logs. If it’s the logs I’m looking
at, it looks like you’re not passing through the required email details in
order to send the invoice. Can I check that you’re hitting the endpoint:
POST https://api.freeagent.com/v2/invoices/YOUR_INVOICE_ID/send_email
with something like the following JSON:
{
“invoice”: {
“email”: {
“to”: “recipient@example.com”,
“from”: “sender@example.com”,
“subject”: “Subject”,
“body”: “Body”
}
}
}
-JOn Thu, Oct 24, 2013 at 10:15 AM, Joe Mallion jdmallion@gmail.com wrote:
We’ve done some testing and the only response we are getting is a 403
Forbidden response header, the body is blank. What’s odd is that it only
does it when trying to access certain services, namely the email invoice,
and any of the ‘Mark invoice as XXX’ requests.
–
You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/groups/opt_out.
Jonathan Barrett, Senior Engineer
FreeAgent: Accounting software, simplified
+44 (0)131 447 0011
Follow us on Twitter: @freeagent https://twitter.com/freeagent
FreeAgent Central Ltd, 40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774