cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When I try to get a list of files I get a nil in response (Swift 5)

When I try to get a list of files I get a nil in response (Swift 5)

VyacheslavB
Helpful | Level 5
Go to solution

I have a simple method where I want to get a list of the user's files. I took the implementation of this method from your PhotoWatch example. I also added a print at each step to track each step. But when I try to get a response, I get a nil. What's wrong? This user definitely has files in his Dropbox.

I would be grateful for help.

Screen Shot 2020-08-20 at 12.06.12.png

10 Replies 10

VyacheslavB
Helpful | Level 5
Go to solution

Yes, you are right, I created ScopeRequest twice. Sorry for my carelessness. I finally got a list of files! I am very glad)) Thank you very much for your help!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    VyacheslavB Helpful | Level 5
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?