Closed shelmire closed 4 years ago
Note that using curl as described here doesn't help either:
https://sendgrid.com/docs/for-developers/sending-email/curl-examples/
Could this be a permissions issue with the API token? I'd expect an API to respond with some sort of error if permission was denied.
Maybe I need to allow more time for the send_at?
The send does seem to cancel correctly if send_at is set far enough out (10 minutes?). Still weird that it just gives an ok with no body as a response, same for the get. Closing.
Issue Summary
batch_id seems to be ignored when used as described in documentation and example: https://github.com/sendgrid/sendgrid-ruby/blob/master/USAGE.md#v3-mail-send and https://github.com/sendgrid/sendgrid-ruby/blob/master/examples/mail/mail.rb#L50
Steps to Reproduce
Create a batch id:
Send a message with the batch_id
response = sg.client.mail._('send').post(request_body: data)
Technical details: