Basic error on the REST API server


#1

I’m new on couchbase stuff and i made a documents on my default bucket and i gave them ID’s and i should see the specific document when i type - localhost:8092/default/1 (the id of the document wich i want to see). And when i do that i get this error - “{“error”:“not_found”,“reason”:“missing”}”… WHy ?


#2

It’s hard to say exactly, but what you’re using there is not a public interface for Couchbase. The only public REST API for views is listed in the documentation.

How are you adding the documents? If it’s via an SDK, it may be best to retrieve it that way as well.