> On Sep 14, 2014, at 8:07 AM, Mike Kirkup <[email protected]> wrote:
> 
>             var url = "http://lite.couchbase./todo";;
…
> For some reason, the code above returns a 404 error with no status text every 
> single time. 

Assuming this is a new app, did you create the 'todo' database first? It won't 
exist until you do a PUT to its URL. The usual idiom is to do the PUT first 
thing on every launch, and ignore a 412 error (that just means the database 
already exists.)

—Jens

-- 
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/9E6C972D-A29B-4222-89AD-3990C492EAC6%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to