I'm using the SimpleAndroidSync sample and it's basically unchanged. As for 
my sync gateway config is the following:

{
   "interface":":4984",
   "adminInterface":":4985",
   "log":["REST"],
   "databases":{
      "sync_gateway":{
         "server":"myserver",
         "bucket":"sync_gateway",
         "sync":`function(doc) {channel(doc.channels);}`,
         "users": {
               "app":{
                    "admin_channels": ["all"],
                    "all_channels":["all"],
                    "password": "password",
                    "disabled": false
                },
               "GUEST":{
                  "disabled": false,
                  "admin_channels":["*"]
               }
            },
         "shadow":{
            "server":"myserver",
            "bucket":"default"
         }
      }
   }
}

On Thursday, 25 September 2014 14:19:25 UTC+1, Andrew Reslan wrote:
>
> One of the common causes of that error on a _changes feed, is passing the 
> "limit" property as a string:
>
> e.g.
>
> curl -X POST http://127.0.0.1/mydb/_changes -H "Content-Type: 
> application/json" -d '{"since":"1","limit":"20"}'
>
>
> Will throw that error
>
>
> curl -X POST http://127.0.0.1/mydb/_changes -H "Content-Type: 
> application/json" -d '{"since":"1","limit":20}'
>
>
> Will behave as expected.
>
>
> If you are using one of the Couchbase Lite client SDK's? to create the 
> replicator, can you paste the code you use to create the replicator, this 
> might be a bug.
>
>
> Andy
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/a3758f5d-89d6-45f4-bafd-5601a5c7e6b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to