Specific error messages:

iOS:

A PUT request for this:

http://lite.couchbase./workmax

returns

[Error] Failed to load resource: the server responded with a status of 400 
(Bad Request) (workMax, line 0)
{"status":400,"error":"Invalid database\/document\/revision ID"}




On Tuesday, September 30, 2014 12:54:17 PM UTC-5, [email protected] 
wrote:
>
> We are only using Couchbase as a local data store (for now), no sync 
> gateway. I've got things to the point where I can get a response from the 
> local server on both Android and iOS (that's all we're supporting now). 
> Both seem to return different values for URL, which is fine, but I'm not 
> able to create a database or documents. The response is correctly returning 
> info that there is no database value when I request.
>
> On iOS the servername is "http://lite.couchbase./"; and on Android it's 
> "http://some-long-uuid-13245@localhost:5964";
>
> I've tried all kinds of different servername urls but no luck so far. It 
> seems like I must be missing something obvious but this use case seems 
> pretty non-standard so haven't had much luck searching documentation 
> (though I have).
>
> sometimes I seem to get a "no auth" response but I don't need/haven't set 
> up any auth since it's local to device.
>
> Yes, I have read the docs and the REST API etc.
>

-- 
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/7601ceaf-6eaf-4eab-9cee-f1af2da7acbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to