Possible bug with send-email API
Hi, I'm having difficulty getting https://cheddargetter.com/developers#send-email 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?
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Marc Guyer on 16 Dec, 2013 01:57 PM
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:
https://cheddargetter.com/admin/activity/errors
You should also be receiving the 400 from the API.
2 Posted by mikey on 16 Dec, 2013 10:04 PM
Oh yes, there were plenty of those. I was testing the API on both pending
and non-pending invoices, got a 400 error response as expected on the
pending ones, and the customer XML data response on the non-pending ones.
On my Dev and Staging environments, when I got the customer XML response,
the API sent the emails as expected, but on my Production environment, on
non-pending invoices, customer XML but no email, and nothing in the
response to suggest any error. Thoughts?
Cheers,
Mikey
Support Staff 3 Posted by Marc Guyer on 16 Dec, 2013 10:47 PM
Can you post your API request params here for our further review?
On Monday, December 16, 2013, mikey wrote:
Jess Pendley closed this discussion on 06 Jun, 2014 03:25 PM.