That's because creating a database over the public API is unsupported. You can use the admin port instead. However, the bucket backing that database has to already exist.
—Jens On Oct 31, 2015, at 4:32 AM, srinadh korukonda <srinad...@stellentsoft.com<mailto:srinad...@stellentsoft.com>> wrote: Hi All, I want to create database from Rest API, but i'm getting error like Creating a DB over the public API is unsupported<https://forums.couchbase.com/t/creating-a-db-over-the-public-api-is-unsupported/5741> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+unsubscr...@googlegroups.com<mailto:mobile-couchbase+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/0f2cca4e-c7a8-461e-bd99-6f2e42b1d017%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/0f2cca4e-c7a8-461e-bd99-6f2e42b1d017%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/44738D8D-939F-4A68-9BB5-8E7D6557B3EC%40couchbase.com. For more options, visit https://groups.google.com/d/optout.