Unsolved

This post is more than 5 years old

2 Posts

1396

February 16th, 2010 16:00

Listing objects

Hello,

I am seeing the followin error when I try to list objects using the object interface. Multiple directories and files were created using the namespace interface so there should be content in there.

Could someone kindly point out what am I missing? Is there a required field that I am missing?

GET /rest/objects HTTP/1.1
Host: accesspoint.emccis.com
Content-Length: 0
Content-Type: application/octet-stream
x-emc-Date: Wed, 17 Feb 2010 00:10:54 GMT
x-emc-Include-meta: 0
x-emc-Uid:
X-emc-Signature: 9RxvuKRtY+ocdSDCVA4aQI09Owk=

HTTP/1.1 400 Bad Request
Date: Wed, 17 Feb 2010 00:10:50 GMT
Server: Apache
Content-Length: 145
X-Cnection: close
Content-Type: text/xml



1002
One or more arguments in the request was invalid.


18 Posts

February 18th, 2010 09:00

Gautam,

When using the object interface you need to specify  the object id when requesting a file, or you need to give meta data associated with the objects you are interested in requesting:

GET /rest/objects HTTP/1.1
accept: */*
date: Wed, 18 Feb 2009 16:39:49 GMT
content-type: application/octet-stream
x-emc-date: Wed, 18 Feb 2009 16:39:49 GMT
x-emc-tags: part4/part7/part8
host: 168.159.116.96
x-emc-uid: 33115732f3b7455d9d2344ddd235f4b9/user1
x-emc-signature: ZllFtIyYe6kvqibS9eqcIBpiQ7I=
x-emc-include-meta: 0

Hope this helps

Scot

No Events found!

Top