Ash Jones
1 min readAug 17, 2020

--

Hi Hamza,

Are you familiar with the Gmail API?

I am rebuilding my personal website in Flutter and need to send an email after a form is filled out.

I am trying to send an email using the Gmail API Dart library, but I get a DetailedApiRequestError(status: 400, message: Invalid value at 'message.raw' (TYPE_BYTES), Base64 decoding failed, when calling 'send'.

Could you please take a look? I will give you a shoutout in a future article if you can solve this!

Stack Overflow post:

https://stackoverflow.com/questions/63452111/dart-gmail-api-send-method-returning-detailedapirequesterror

My project: https://github.com/ashtonjonesdev/ashton_jones_dev_website

Thanks,

Ashton

--

--

Ash Jones
Ash Jones

Written by Ash Jones

Philosopher. Writer. Writing about self-development, focus, eliminating distractions

No responses yet