Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 92620 invoked from network); 5 Apr 2010 20:08:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 20:08:11 -0000 Received: (qmail 75382 invoked by uid 500); 5 Apr 2010 20:08:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 75342 invoked by uid 500); 5 Apr 2010 20:08:10 -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 75334 invoked by uid 99); 5 Apr 2010 20:08:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 20:08:10 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.160.180 as permitted sender) Received: from [209.85.160.180] (HELO mail-gy0-f180.google.com) (209.85.160.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 20:08:06 +0000 Received: by gyb13 with SMTP id 13so1571456gyb.11 for ; Mon, 05 Apr 2010 13:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type :content-transfer-encoding; bh=1M4ribEXILz1OlRNRiPUwMcXuNl8lj794mfukVWZxY4=; b=ax785djb0U8GhOY2zwoAyMst9nR2z0aH9UfdKZD2cksqGUbUXEs2BCVRN4rNSO8pcf 05PxFB3q+yty8cBzsJB8MAUx7I6aIfkwf/R2AlT80503VtVCwPNtLHsQAXbYyuGfF8X5 lLdULveOn1IhX9QjJRKByQOzFhoS81CbXpurc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=hZZ4xGg1IpLD3FnGJQq+gLwRzcXf6kl+80Uf61Fx77QrjIV8hLMXHs0Bfd/Idhq6lG PByi2q90uEPxUDixTx+RhdDdu7DCaSUImSAIB368aq9B5q5uh8JnTyPP6c+ccS4e7Wok +9fkBiX6Dma+GA7quax6pS82pSk9KsKQgGwsk= MIME-Version: 1.0 Received: by 10.100.112.19 with HTTP; Mon, 5 Apr 2010 13:07:24 -0700 (PDT) In-Reply-To: References: From: Paul Davis Date: Mon, 5 Apr 2010 16:07:24 -0400 Received: by 10.101.164.17 with SMTP id r17mr11990563ano.230.1270498064267; Mon, 05 Apr 2010 13:07:44 -0700 (PDT) Message-ID: Subject: Re: "attempted upload of invalid JSON" message for valid json To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Works for me to push that in and get it out on trunk. Can you paste a stack trace or similar? Also, you're using a json library of some sort to generate that right? If not you might want to check for stray whitespace in strings or other such wonderous things. Paul On Mon, Apr 5, 2010 at 3:14 PM, erich oliphant w= rote: > Hi, > While investigating another issue, i noticed a lot of "attempted upload o= f > invalid JSON" messages in the couch log. =A0 I grabbed a few of the docum= ents > from the log and they all seem to pass JSON lint validation. > > One example : > -- > { > =A0 =A0"contributors": null, > =A0 =A0"text": "@dankennedy_nu on the radio now is Doobie Brothers' \"Jes= us is > just alright with me\"", > =A0 =A0"geo": null, > =A0 =A0"in_reply_to_screen_name": "dankennedy_nu", > =A0 =A0"truncated": false, > =A0 =A0"id": 11587311501, > =A0 =A0"source": " rel=3D\"nofollow\">UberTwitter<\/a>", > =A0 =A0"favorited": false, > =A0 =A0"in_reply_to_status_id": 11587091075, > =A0 =A0"created_at": "Sun Apr 04 13:26:32 +0000 2010", > =A0 =A0"in_reply_to_user_id": 15675013, > =A0 =A0"place": null, > =A0 =A0"user": { > =A0 =A0 =A0 =A0"location": "?T: 42.353691,-71.072597", > =A0 =A0 =A0 =A0"profile_background_tile": true, > =A0 =A0 =A0 =A0"statuses_count": 25, > =A0 =A0 =A0 =A0"lang": "en", > =A0 =A0 =A0 =A0"profile_link_color": "038543", > =A0 =A0 =A0 =A0"id": 109715034, > =A0 =A0 =A0 =A0"following": null, > =A0 =A0 =A0 =A0"favourites_count": 1, > =A0 =A0 =A0 =A0"protected": false, > =A0 =A0 =A0 =A0"profile_text_color": "000103", > =A0 =A0 =A0 =A0"contributors_enabled": false, > =A0 =A0 =A0 =A0"description": "Boston Herald Staff Photog and owner of th= e soon to > be photo blog pictureboston.com", > =A0 =A0 =A0 =A0"verified": false, > =A0 =A0 =A0 =A0"name": "Mark Garfinkel", > =A0 =A0 =A0 =A0"profile_sidebar_border_color": "EEEEEE", > =A0 =A0 =A0 =A0"profile_background_color": "ACDED6", > =A0 =A0 =A0 =A0"created_at": "Sat Jan 30 00:53:49 +0000 2010", > =A0 =A0 =A0 =A0"followers_count": 73, > =A0 =A0 =A0 =A0"geo_enabled": false, > =A0 =A0 =A0 =A0"profile_background_image_url": " > http://a3.twimg.com/profile_background_images/79991589/ok2.jpg", > =A0 =A0 =A0 =A0"url": "http://www.pictureboston.com", > =A0 =A0 =A0 =A0"utc_offset": null, > =A0 =A0 =A0 =A0"time_zone": null, > =A0 =A0 =A0 =A0"notifications": null, > =A0 =A0 =A0 =A0"friends_count": 175, > =A0 =A0 =A0 =A0"profile_sidebar_fill_color": "F6F6F6", > =A0 =A0 =A0 =A0"screen_name": "pictureboston", > =A0 =A0 =A0 =A0"profile_image_url": " > http://a1.twimg.com/profile_images/728957810/ok_normal.jpg" > =A0 =A0}, > =A0 =A0"coordinates": null > } > -- > > -- > Erich Oliphant > > "There are, in fact, two things, science and opinion, the former begets > knowledge, the latter ignorance" > -- Hippocrates of Cos >