Empty response from Mandrill

878 views
Skip to first unread message

jdbnl

unread,
Jul 10, 2012, 2:41:41 PM7/10/12
to mandrill-a...@googlegroups.com
I'm sending a test message using this JSON:
{"key": "d5e284fd-cc6e-4304-8c91-xxxx", "template_name": "xxx", "template_content": [{"name": "xxx", "content": "xxx"}], "message": [{"subject": "Bedankt voor uw xxx", "from_email": "klanten...@xxx.nl", "from_name": "xxx.nl", "to": {"email": "x...@xxx.xxx"}, "track_opens": true, "track_clicks": true, "auto_text": true, "url_strip_qs": false}]}
I see in the API log this call is successfull, only the response is {}

So no message is send, but also no error is shown, so I don't know where to start to debug. What can this be?

Kaitlin

unread,
Jul 10, 2012, 3:51:16 PM7/10/12
to mandrill-a...@googlegroups.com
The "message" is wrapped in an array and the "to" isn't being passed as an array.


"message": [{"subject": "Bedankt voor uw xxx", "from_email": "klanten...@xxx.nl", "from_name": "xxx.nl", "to": {"email": "x...@xxx.xxx"}, "track_opens": true, "track_clicks": true, "auto_text": true, "url_strip_qs": false}]

should look like:


"message": {"subject": "Bedankt voor uw xxx", "from_email": "klanten...@xxx.nl", "from_name": "xxx.nl", "to": [{"email": "x...@xxx.xxx"}], "track_opens": true, "track_clicks": true, "auto_text": true, "url_strip_qs": false}


Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages