Exception when creating photoset (Value cannot be null. Parameter name: stringToUnescape)

Topics: Developer Forum
Dec 13, 2010 at 10:40 PM

Hi,

 

when I try to create a photoset with     FlickrNet.Photoset flickrPhotoset = flickr.PhotosetsCreate(title, primaryPhotoId), I get the following error:

Value cannot be null.Parameter name: stringToUnescape

 at System.Uri.EscapeDataString(String stringToEscape)   at FlickrNet.Flickr.CalculateUri(Dictionary`2 parameters, Boolean includeSignature)   at FlickrNet.Flickr.GetResponse[T](Dictionary`2 parameters, TimeSpan cacheTimeout

 

any ideas?

 

thanks

Thomas

Coordinator
Dec 14, 2010 at 9:53 AM

Looks like if you don't pass in a description it falls over. I've coded the fix, but in the mean time try to always set the description.

Sam

Dec 14, 2010 at 12:03 PM

Hi Sam,

 

works perfect

 

thanks

Thomas