Recently got this error after changing domain names for a customer. I tried two things to fix.
1) I tried V2 instead of V3. That didn’t work
2) I realized that I had added the https:// at the front of the domain name on the google setup. Once I removed that, it worked like a charm!