Server to mobile sync not working

Hi

i was created a users document in server and mobile the problem was an the doc which one was created on mobile it was synced with server but the doc which one was created on server that one not sync with the mobile what was the problem

my config.json
{
“log”: ["*"],
“interface”: “:5984”,
“adminInterface”: “:5985”,
“configServer”: “http://localhost:8091”,
“databases”: {
“tryment_db”: {
“server”: “http://localhost:8091”,
“bucket”: “tryment_db”,
“users”: {
“GUEST”: {
“disabled”: false,
“admin_channels”: [" * "]
}
}
}
}
}

@yafeearun ,
In CB 4.x and SG 1.4 and lower to sync data you have to insert it into SG via HTTP REST GET/PUT/POST/DELETE
Here is a list of all the methods. https://developer.couchbase.com/documentation/mobile/current/references/sync-gateway/rest-api/index.html

But in CB 5.x and SG 1.5 and greater you can change data in CB itself and it will sync to devices based on your sync function.