Executing the Gmail Forward Emails card in a workflow returns a 400 Bad Request error where the response body contains the following, even though a valid forwarding address was provided:
{
"body": {
"error": {
"code": 400,
"message": "Invalid forwarding address",
"errors": [
{
"message": "Invalid forwarding address",
"domain": "global",
"reason": "failedPrecondition"
}
],
"status": "FAILED_PRECONDITION"
}
}
}- Workflows Gmail Connector
- Forward Emails card
In some cases, Gmail requires verification of a forwarding address. If verification is required, the forwarding address will be added when the Forward Emails card executes, but the HTTP 400 error will be returned with a status of "FAILED_PRECONDITION". A verification email is sent to the target email address ("Forward To" address), and the owner must complete the verification process.
To confirm verification is required, the owner of the source email address ("Forward From" address) can sign in to Gmail and navigate to Google Settings > See All Settings > Forwarding and POP/IMAP. See the Forwarding section to determine if the address needs to be verified:
NOTE: If the target user did not receive the verification email, it can be resent by clicking the Re-send email link.
The target user must complete the verification process before the email can be forwarded.
