This project has moved and is read-only. For the latest updates, please go here.

PhotoDelete() Insufficient Permisions

Topics: Developer Forum, User Forum
Feb 23, 2010 at 6:01 AM

I need to delete a photo from Flickr using I am using the following code:

var account = new FlickrNet.Flickr(ConfigurationManager.AppSettings["flickrApiKey"], ConfigurationManager.AppSettings["flickrApiSecret"], ConfigurationManager.AppSettings["flickrToken"]);

But I am getting this error:

Inner Exception: FlickrNet.FlickrApiException: Insufficient permissions. Method requires delete privileges; write granted. (99)
  at FlickrNet.Flickr.PhotosDelete(String photoId)

How do I use the PhotoDelete method correctly so I don't get this error?


Feb 23, 2010 at 9:01 AM
You are using the PhotosDelete method correctly, but it is likely that
your Authentication Token does not have the require permissions.

Can you remove the application from your list of authenticated
applications here :

Then re-authenticate, ensuring you are asking for Delete permissions.