error :Invalid signature.

Jan 9, 2011 at 12:12 PM
Edited Jan 9, 2011 at 12:13 PM
First thanks dimko1 for this great job.
 
When I try to get metadata from root path like below
boxNetEngine.GetMetadata("/", metaData => itemList.ItemsSource = metaData.Contents);
will get HttpStatusCode.Forbidden at BoxNet.BoxNetEngine.ExecuteMetadataRequest() line 336
and the response.Content is 
{"error": "Invalid signature. Expected signature base string: 
GET&http://api.dropbox.com/0/metadata/dropbox&oauth_consumer_key=XXXXXXXXXXX&oauth_nonce=9120694
&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1294577558&oauth_token=XXXXXXXXXXX&oauth_version=1.0"}
but when try to get metadta from other path like "/Photos" will work correctly (HttpStatusCode.OK)

Any idea for this situation??

Coordinator
Jan 10, 2011 at 5:24 PM

Hi, Man,

 

Thanks for the warm words and thanks for the issue.

 

It is fixed now. Please download new sources, or check changes. In case you want to get metadata of root folder, just use this method with empty.string, like:

GetMetadata(string.Empty, callback);

 

Best Regards,

-Dima