Running replications via Sync Gateway config not working

Hi,

Couchbase server 4.1.1
sync-gateway 1.2.0

We are trying to implement replication between two couchbase buckets but we are not able to replicate.

2016-06-14T14:58:05.850+05:30 CRUD+: Invalid sync metadata (may be expected): Current rev: , Sequence: 0
2016-06-14T14:58:05.869+05:30 WARNING: changeCache: Error unmarshaling doc “qwe”: – db.(*changeCache).DocChanged.func1() at change_cache.go:327

Please have a look at our sync config:

{
“log”:["*"],
“replications”:[
{
“source”: “test1”,
“target”: “test2”
},
{
“source”: “test2”,
“target”: “test1”
}
],

"databases": {
    "test1": {
        "server": "http://127.0.0.1:8091",
        "bucket": "test1"
        
    },
    "test2": {
        "server": "http://127.0.0.1:8091",
        "bucket": "test2"

    }

}}

We have tried all the example given in documention () but it does not seem to work. Our use is does not allow us to use XCDR.

Thanks
Arjun