oauth - Google Cloud Storage - Python - Create bucket - 403 Error -
i trying use python example provide here (https://developers.google.com/storage/docs/gspythonlibrary?hl=es-es) while able listing of buckets work, unable create bucket working. when try create bucket using uri.create_bucket error 403 forbidden
i sure have done setup , did extensive search verify things. full error message follows
reply: 'http/1.1 403 forbidden\r\n' header: content-type: application/xml; charset=utf-8 header: content-length: 111 header: vary: origin header: date: mon, 18 aug 2014 07:37:00 gmt header: server: uploadserver ("built on aug 12 2014 13:30:28 (1407875428)") header: alternate-protocol: 443:quic traceback (most recent call last): file "gcsauthme.py", line 32, in <module> uri.create_bucket(headers=header_values) file "/usr/lib/python2.6/site-packages/boto/storage_uri.py", line 560, in create_bucket storage_class) file "/usr/lib/python2.6/site-packages/boto/gs/connection.py", line 104, in create_bucket response.status, response.reason, body) boto.exception.gsresponseerror: gsresponseerror: 403 forbidden <?xml version='1.0' encoding='utf-8'?><error><code>accessdenied</code><message>access denied.</message></error>
kindly help.
regards
balaji
Comments
Post a Comment