tag:support.getcheddar.com,2009-06-01:/discussions/problems/6495-possible-bug-with-send-email-apiCheddar: Discussion 2018-04-11T19:13:59Ztag:support.getcheddar.com,2009-06-01:Comment/305768672013-12-16T05:58:41Z2013-12-16T05:58:41ZPossible bug with send-email API<div><p>Hi, I'm having difficulty getting <a href=
"https://cheddargetter.com/developers#send-email">https://cheddargetter.com/developers#send-email</a>
to work - I'm managing three apps, PATHWRANGLER_DEV,
PATHWRANGLER_STAGING and PATHWRANGLER - I've got send-email working
just fine on the first two, but not the third. I've checked and
rechecked all the settings on each of the three apps, they seem
identical, and the API response returns the same customer info as
the first two apps, so I'm not being informed of any errors. Any
idea what's wrong?</p></div>mikeytag:support.getcheddar.com,2009-06-01:Comment/305768672013-12-16T13:57:00Z2013-12-16T13:57:00ZPossible bug with send-email API<div><p>Hi Mikey -- It looks like you're trying to send email for the
pending invoice which isn't due yet and hasn't been transacted. I
found 400 status errors in your log:</p>
<p><a href=
"https://cheddargetter.com/admin/activity/errors">https://cheddargetter.com/admin/activity/errors</a></p>
<p>You should also be receiving the 400 from the API.</p></div>Marc Guyertag:support.getcheddar.com,2009-06-01:Comment/305768672013-12-16T22:04:10Z2013-12-16T22:04:10ZPossible bug with send-email API<div><p>Oh yes, there were plenty of those. I was testing the API on
both pending<br>
and non-pending invoices, got a 400 error response as expected on
the<br>
pending ones, and the customer XML data response on the non-pending
ones.<br>
On my Dev and Staging environments, when I got the customer XML
response,<br>
the API sent the emails as expected, but on my Production
environment, on<br>
non-pending invoices, customer XML but no email, and nothing in
the<br>
response to suggest any error. Thoughts?</p>
<p>Cheers,<br>
Mikey</p></div>mikeytag:support.getcheddar.com,2009-06-01:Comment/305768672013-12-16T22:47:39Z2013-12-16T22:47:39ZPossible bug with send-email API<div><p>Can you post your API request params here for our further
review?</p>
<p>On Monday, December 16, 2013, mikey wrote:</p></div>Marc Guyer