Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
https://docs.couchbase.com/nodejs-sdk/current/hello-world/start-using-sdk.html
The current try-it-now example (Local Couchbase Server) fails because we are using the tenant_agent_00 scope to query data, which doesn't seem to have indexes setup in travel-sample bucket, unlike the inventory one which does.
The code does attempt to create the index, but it obviously takes time to do so.
To ensure our example can run successfully if a user tries to run it we should probably use the inventory scope to avoid any errors or waiting for indexes to be created.
We should try to avoid burdening users with having to create indexes in a "Getting Started" guide, the experience should be easy and frictionless at this learning stage.