Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55E1E744C for ; Tue, 18 Oct 2011 02:38:59 +0000 (UTC) Received: (qmail 30743 invoked by uid 500); 18 Oct 2011 02:38:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30679 invoked by uid 500); 18 Oct 2011 02:38:57 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 30671 invoked by uid 99); 18 Oct 2011 02:38:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 02:38:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pulkitsinghal@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 02:38:49 +0000 Received: by wyg24 with SMTP id 24so165546wyg.11 for ; Mon, 17 Oct 2011 19:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=mlU09mQDPXVvOE64ws/GPmu81aR4US8ZIOclGRf5jW0=; b=xs9P4KozeKtSXxNEkPXkFKSDBhtvI1vThKlQHT5BzR+S/Lrbq3Ts59bR4ddb/rO7gt wpPfdr1FhHYMTSKyLBUjkWMDC3fnqb4oMl8tcQw3ObLn9XhECbn1FZvSVIkwwkParqNx urLOT9pcWiGIfStlQwCVX6r3WeNYWaFlSCiQs= MIME-Version: 1.0 Received: by 10.216.80.88 with SMTP id j66mr4743496wee.26.1318905509154; Mon, 17 Oct 2011 19:38:29 -0700 (PDT) Received: by 10.216.19.146 with HTTP; Mon, 17 Oct 2011 19:38:29 -0700 (PDT) Date: Mon, 17 Oct 2011 21:38:29 -0500 Message-ID: Subject: Error when uploading json data file From: Pulkit Singhal To: CouchDB Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org I see the following log on the server side: [info] [<0.17288.0>] Stacktrace: [{lists,map, [#Fun, undefined]}, {couch_httpd_db,db_req,2}, {couch_httpd_db,do_db_req,2}, {couch_httpd,handle_request_int,5}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}] When I run the following simple command to upload data from a file: curl -d @productSample.json -X POST localhost:5984/bbyopen/_bulk_docs -H "Content-Type: application/json" Can anyone help me figure out what the problem is? Thanks! - Pulkit