{
“bootstrap”: {
“server”: “couchbase://localhost”,
“use_tls_server”: false,
“username”: “Administrator”,
“password”: “password”
},
“api”: {
“public_interface”: “0.0.0.0:4984”,
“admin_interface”: “127.0.0.1:4985”,
“https”: {}
},
“bucket_credentials”: {
“test-without-scope”: {
“password”: “Password”,
“username”: “Administrator”
}
},
“logging”: {
“log_file_path”: “./sync_gateway_log.log”,
“console”: {
“enabled”: true
},
“debug”: {
“enabled”: true
},
“error”: {
“enabled”: true
},
“info”: {
“enabled”: true
},
“warn”: {
“enabled”: true
}
},
“database_credentials”: {
“test-without-scope”: {
“username”: “Administrator”,
“password”: “password”
}
},
“auth”: {},
“replicator”: {},
“unsupported”: {
“serverless”: {}
}
}
Above is my bootstrap.json file.
I am trying to perform a CRUD operation using Postman but getting the following error:
I have created user in my couchbase server and used that user in authentication (Basic authentication with username and password)
{
“error”: “Unauthorized”,
“reason”: “Invalid login”
}