Google Could Storage: error when inserting bucket - 'Error 403: The account for the specified p


String projName = settings.getProject(); String bucketName = settings.getBucket();

System.out.println("Creating bucket, projName: "+projName+", bucketName: "+bucketName) ; try { @SuppressWarnings("unused") Bucket createdBucket = storage.buckets().insert(projName, new Bucket().setName(bucketName).setLocation("US") ).execute(); } catch (GoogleJsonResponseException e) { GoogleJsonError error = e.getDetails(); if (error.getCode() == HTTP_CONFLICT && error.getMessage().contains("You already own this bucket.")) { System.out.println("already exists"); } else { System.out.println("Exception in tryCreateBucket: "+e); throw e; } }


Creating bucket, projName: round-center-551, bucketName: 1904mybucketfoo

Exception in tryCreateBucket:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden

{ "code" : 403, "errors" : [ { "domain" : "global" "location" : "Authorization", "locationType" : "header", "message" : "The account for the specified project has been disabled.", "reason" : "accountDisabled" } ], "message" : "The account for the specified project has been disabled." } The account for the specified project has been disabled.

I have verified that Google Cloud Storage and Google Cloud Datastore API services are on. Any idea what should be done to enable the account?


This error could mean a few things, but quite possibly just means that you haven't enabled billing for the project.

Google Cloud Storage requires that billing is enabled in order to create buckets and objects, however the error here isn't very descriptive.

You can enable billing on the Settings page for your project in the Cloud Console (<a href="https://console.developers.google.com/project/apps~PROJECT_NAME/settings" rel="nofollow">https://console.developers.google.com/project/apps~PROJECT_NAME/settings</a>)


  • Populating Spinner with JSON
  • Android: save file to downloads that can be viewed later
  • Turning String textfile into object array
  • Spring bean validation messages resolution
  • Error: Type parameter 'T' cannot be inferred
  • Put database into android project
  • Errno 2 using python shutil.py No such file or directory for file destination
  • Where should I store a file in Android?
  • Where does the file get saved using “File file = new file(filename)” in Android
  • VirtualDocumentRoot handling non-existent folders
  • Help translating Reflector deconstruction into compilable code
  • cursor.fetchone() returns None but row in the database exists
  • Python equivalent of Scala's exists() function?
  • Mysql query to determine if the given datetime is included in the datetime interval
  • Rails 4.1 environment variables not reloading
  • Does Context/Scoping of a SQLAlchemy Session Require Non-Automatic Object/Attribute Expiration?
  • phpmailer - How to verify a sent email arrived at its destination
  • Is WITH the replacement for a #TEMP table?
  • Insert records if not exist SQL Server 2005
  • How to configure Cygnus in relation to Orion and Cosmos
  • RavenDB indexing errors
  • Pre-populated SQLite Database not reading properly in Android Studio
  • What command do i need to pass in SabreCommandLLSRQ to get current price of PNR?
  • PDO error when wrong host name
  • Cannot save model when using ember render helper
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Groovy: Unexpected token “:”
  • How to create a file in java without a extension
  • How to convert from System.Drawing.Color to Excel.ColorFormat in C#? Change comment color
  • javascript inside java/jsp code
  • MySQL WHERE-condition in procedure ignored
  • JSON with duplicate key names losing information when parsed
  • Can I have the cursor start on a particular column by default in jqgrid's edit mode?
  • Rearranging Cells in UITableView Bug & Saving Changes
  • Circular dependency while pushing http interceptor
  • Linker errors when using intrinsic function via function pointer
  • Android Studio and gradle
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • How can i traverse a binary tree from right to left in java?