I´m getting the same error as well.
Check this topic: Sendgrid plugin by cobubble for sending invoices in PDF by email?