[ckan-dev] [ckan-discuss] API, PUT: Integrity Error

Pascal Christoph christoph at hbz-nrw.de
Wed Apr 27 13:40:55 UTC 2011


Hello David,

thank you for your immediate fixing!
oo

Am 27.04.2011 02:15 schrieb David Raznick:
> Hello,
> 
> It should be fixed now.
> 
> Sorry for the inconvenience.
> 
> I have cross posted to ckan-dev.  Get back to this list if you have any more
> issues.
> 
> Thanks
> 
> David
> 
> 
> 
> 
> On Tue, Apr 26, 2011 at 3:42 PM, Pascal Christoph <christoph at hbz-nrw.de>wrote:
> 
>> Hello,
>>
>> I am getting the following error:
>> {
>> * About to connect() to ckan.net port 80 (#0)
>> *   Trying 46.51.189.76... connected
>> * Connected to ckan.net (46.51.189.76) port 80 (#0)
>> > PUT /api/rest/package/hbz_unioncatalog HTTP/1.1
>> > User-Agent: curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0
>> OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
>> > Host: ckan.net
>> > Accept: */*
>> > Authorization:bb5231a1-41f8-4e50-92f7-b1bc05ce38b7
>> > Content-Length: 4156
>> > Content-Type: application/x-www-form-urlencoded
>> > Expect: 100-continue
>> >
>> * Done waiting for 100-continue
>> * HTTP 1.0, assume close after body
>> < HTTP/1.0 400 Bad Request
>> < Date: Tue, 26 Apr 2011 13:53:15 GMT
>> < Server: Apache/2.2.14 (Ubuntu)
>> < Pragma: no-cache
>> < Cache-Control: no-cache
>> < Content-Length: 15
>> < Access-Control-Allow-Origin: *
>> < Vary: Accept-Encoding
>> < Content-Type: text/html; charset=utf-8
>> < X-Cache: MISS from localhost
>> < X-Cache-Lookup: MISS from localhost:80
>> < Via: 1.0 localhost (squid/3.0.STABLE19)
>> < Connection: close
>> <
>> * Closing connection #0
>> Integrity Error
>> }
>>
>> using the API with curl, see example[1]. I have used the same curl ca. a
>> month ago, pretty sure that my curl syntax has not changed, JSON seems
>> to be correct.
>>  What am I missing?
>>
>> Many thanks for your help in advance,
>> -o
>>
>> [1]http://pastebin.com/2v7QasZy
>>
>>
>> _______________________________________________
>> ckan-discuss mailing list
>> ckan-discuss at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-discuss
>>
> 





More information about the ckan-dev mailing list