couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Ramage <ryan.ram...@gmail.com>
Subject Re: File Attachment 403 With Strange Error
Date Wed, 24 Aug 2011 15:46:06 GMT
>> {"error":"forbidden","reason":"date_originally_ingested is required."}

I try not to keep dates of things I originally ingest. But ingesting
it a _second_ time after the first would be unforgettable.
Sorry, couldn't resist :)
Please allow for nulls in your validate_doc_update.



On Wed, Aug 24, 2011 at 9:23 AM, Robert Newson <rnewson@apache.org> wrote:
> Yes, you have a validate_doc_update function in one of your design
> documents that is rejecting this update.
>
> B.
>
> On 24 August 2011 15:44, Justin Michalczak <justin.michalczak@sri.com> wrote:
>> CouchDB 0.11.2
>>
>> Attempting to PUT a new attachment to a document, using a URL similar to:
>> http://localhost:5984/database/document/TEST.txt?rev=1-abcdef
>>
>> I have ensured that the revision is correct and that the document exists. I
>> receive a 403 in response, with the following body:
>>

>>
>> I downloaded the 0.11.2 source and ran a search for
>> "date_originally_ingested" with no success. Searched again for "is
>> required". No matches that would output an error like this. So, I am not
>> sure where this error is coming from or what it means. Even attempts to
>> upload via Futon (_utils) is met with a 403 in the log, though I cannot see
>> the response body.
>>
>> Any clues on what's causing this?
>>
>> ~Justin
>>
>


-- 
Twitter: @eckoit

Mime
View raw message