sendgrid/sendgrid-objc

Error on send email

Opened this issue · 1 comments

LEBT commented

2018-02-03 13:30:20.940370-0200 NowOrNever[2781:2516198] Error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)" UserInfo={NSLocalizedDescription=Request failed: bad request (400), NSErrorFailingURLKey=https://api.sendgrid.com/api/mail.send.json, com.alamofire.serialization.response.error.data=<7b226572 726f7273 223a5b22 42616420 75736572 6e616d65 202f2070 61737377 6f726422 5d2c226d 65737361 6765223a 22657272 6f72227d>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x1c403f5c0> { URL: https://api.sendgrid.com/api/mail.send.json } { Status Code: 400, Headers {
Connection = (
"keep-alive"
);
"Content-Length" = (
56
);
"Content-Type" = (
"application/json"
);
Date = (
"Sat, 03 Feb 2018 15:30:20 GMT"
);
Server = (
nginx
);
} }}

same here. @LEBT did you get it working?