Hi everyone, 

I'm trying to use this api SiteVerification API 
<https://developers.google.com/site-verification> by using the official Golang 
SDK 
<https://github.com/googleapis/google-api-go-client/tree/master/siteverification/v1>
 and 
I have a weird error return by google API when I'm trying to use the insert 
call: *googleapi: Error 503: An unexpected error occurred. Please try your 
request again., backendError.*

Can someone help me to understand what's going on ? because I've met all 
the requirements from the documentation 
<https://developers.google.com/site-verification/v1/invoking> but for a 
domain (not a site). So, in my code I do the following steps:

1. Authentication to the google API by using a service account token.
2. Call getToken method to retrieve the verification token for my domain 
(DNS TXT)
3. Insert the TXT record in the DNS zone (I did this manually for now)
4. Call the insert method to ask google to verify my domain.

Here you can find the 
code: https://gist.github.com/rayanebel/7629ee7c82b2f2c1b10e8469949f37d0

Thanks you for your help

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e8838f43-a39d-4032-a8e2-41c81a44b70an%40googlegroups.com.

Reply via email to