Error 409 description clarification, when creating a bucket

1,912 views
Skip to first unread message

G. Hussain Chinoy

unread,
Jun 3, 2010, 1:17:08 PM6/3/10
to gs-dis...@googlegroups.com
Hi, all,

Yesterday I tried to create a bucket with a period in the name and received a 409 error that stated 409 Conflict BucketNameUnavailable. (below)  Doing an gsutil ls on the uri gives a 404, NoSuchBucket.

It doesn't appear that the 409 message initially given, 409 Conflict, is entirely accurate.  Additionally, the description of 409 on Status Codes reference page "A conflicting conditional operation is currently in progress against this resource. Please try again." isn't accurate in this situation, either.

After reading the naming guidelines, a period implies a domain name/site name that has to be verified via webmaster tools.  Once I resolved that, I was able to create a bucket with a period in it no problem.  Simple issue on my end, the messages from the service and in the docs were just a bit confusing.

H


Failure: S3CreateError: 409 Conflict
<?xml version='1.0' encoding='UTF-8'?><Error><Code>BucketNameUnavailable</Code><Message>The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.</Message></Error>.

Failure: status=404, code=NoSuchBucket, reason=Not Found.

Google Storage Team

unread,
Jun 3, 2010, 1:41:47 PM6/3/10
to gs-dis...@googlegroups.com
Hi,

Thanks for your feedback - this is helpful for improving our documentation.

Attempting to create a bucket with a dot in the name can return a 409
error code in two cases:

a) A bucket with that name already exists

b) The name does not fall under a currently recognized top-level
domain. In this case we prevent creation of the bucket in case a
top-level domain with that name is created at some time in the future.

If your request requires verification via webmaster tools you will
receive a 403 error code, along with the URL needed to perform this
verification.
- Mike

> --
> You received this message because you are subscribed to the Google Groups
> "Google Storage for Developers" group.
> To post to this group, send email to gs-dis...@googlegroups.com.
> To unsubscribe from this group, send email to
> gs-discussio...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/gs-discussion?hl=en.
>

Reply all
Reply to author
Forward
0 new messages