Gmail::SendEmail error - Failed to fetch data from external service

I have set an ‘Automation task’ that triggers everyday and emails a list of tasks.

But when the task is run i get an email with the below error:

Rule “Email Daily Tasks” failed to run.

When I look at the job history in Coda I see the below message:

Gmail::SendEmail failed - Failed to fetch data from external service.

Anyone knows how I can debug this or can guide on what Im doing wrong?
26%20PM

I have similar problem. I have made a button, which pushes all individual gmail buttons. The individual buttons work without any issues, but the other button gives an error: Gmail::SendEmail failed - Failed to take action in Gmail

If any of the individual buttons fail, it might cause the main button to fail. Something like an email address missing or mis-configured for the “Send To:” value I think could cause this.

Are absolutely all individual buttons working?

Yes, all individual buttons are working. The document is duplicated and maybe that could have caused the problem. The button works fine with the original document.

Since the document was duplicated, you might want to check the Gmail Pack Settings and make sure your account is listed properly there.

You can also check in the button configuration and make sure the correct option is chosen for which account to use.

I think when you duplicate a doc, you need to “reconnect” the pack.

I have reconnected the pack, but unfortunately it still doesn’t work. The individual button works just fine, but the other button for some reason cannot push it. I attach screenshot of the setup, maybe I am doing something wrong.

Dear @Elislav_Atanasov,

From the screenshots it doesn’t come clear to my why it’s not working.
Would you mind to share a dummy copy of your doc?

Поздрави, :bulgaria:
Жан Пиер

There you go:

Thanks in advance!

Dear @Elislav_Atanasov,

In the section “sending emails”, each column is a lookup, including the email that gives an error.

The marked with yellow is an error message

image

When you change the column property to “text” you will get the below output (hyperlink email)

Maybe you can give it another try, as the buttons seem to be okay.

Unfortunately, it does not work :frowning: However, thanks for the advice!

Hi @Elislav_Atanasov,

Would you mind opening a support ticket with the ? icon at the bottom right of your screen when you have the doc open? I think this will take troubleshooting the doc if you’re able to share it and this way you can share it with support and not have share a link here.

Hoping we can help you out!

Ben

Guys, quick update from me. Thanks to @Thomas_Hils the issue is resolved. The reason was, that there were filtered rows without email address. To prevent such errors I have simply disabled the button, if the field is empty. That way everything works just fine!

4 Likes

Thank you for posting the solution for us! Always helps to see the remedy!