Error: Keyspace not found keyspace bucket-name

Why do I get this error?

{ [Error: Keyspace not found keyspace restful-sample - cause: No bucket named restful-sample]
  requestID: 'f7ce93bf-f7cb-4b02-b004-6bce322c7a2e',
  code: 12003,
  otherErrors: [] }

Im pretty sure my bucket exist with an index, it was working and suddenly gone coo-coo like that :triumph:. I can even “upsert” to the bucket, but whe getting all, I get that error.

Hi, can you give us more informations, like what’s your query and how you run it, and on which version of Couchbase?