sendGrid integration with retool not working

hello I am trying to incorporate sendgrid in retool but i am getting this error pls help

sendEmail: {"status":400,"message":"","errors":[{"message":"Invalid type. Expected: string, given: object.","field":"content.0.value","help":"Authentication | Twilio type....

Hi @drnaresh, It appears that you may be passing an object in your sendEmail SendGrid query, but SendGrid is expecting a string. Can you share the value of the email variable that you're passing with additionalScope in sendEmails and a screenshot of your sendEmail query?

1 Like

Thank yo so much @everett_smith
I made silly mistake on my side
I got help from this site and solved my problem
https://retool.com/blog/building-an-email-sender-app-with-retool-and-sendgrid/