1
votes

I have activated the service account that has Storage Admin rights. When I run gsutil -d version -1 it shows that it is pointing to the BOTO file. I can run the scheduled task if I'm logged into the server without an issue. If I try and run it while logged out I get

ServiceException: 401 Anonymous caller does not have storage.objects.create access

I know I'm missing something.

C:\Windows\system32\cmd.exe /c ""C:\Program Files (x86)\Google\Cloud SDK\cloud_env.bat"" 

gsutil -m mv \\Local Server Share gs://Google Cloud Bucket
1

1 Answers

0
votes

The exception indicates that no access token ("Authorization" HTTP header) was sent with the request, which generally means either no BOTO file was loaded, or the BOTO file that was loaded contained no credential settings. Try running gsutil version -l again after you log out, and see if it points to a BOTO file.