Dropbox Downloading issue in iphone
===

Hello I am using Dropbox api in my app. I want to download images from my dropbox account and want to store in simulator/Device directory and i have created app in dropbox using Full DropBox Access.But it giving me this error.
[WARNING] DropboxSDK: error making request to /1/files/sandbox/Photos - App folder (sandbox) access attempt failed because this app is not configured to have an app folder.  Should your access type be 'dropbox' instead?

Here is my code
           restClient = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
    restClient.delegate = self;
    NSString *fileName = [NSString stringWithFormat:@"/avatar.jpg"];
    // Do any additional setup after loading the view, typically from a nib.
    
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, 
                                                         NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString* path2 = [documentsDirectory stringByAppendingString: 
                       [NSString stringWithFormat:@"%@", fileName]];
    [restClient loadFile:fileName intoPath:path2];
