cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

[Sync API] Why movePath sometimes showed an error saying that it should not be called in main thread?

[Sync API] Why movePath sometimes showed an error saying that it should not be called in main thread?

C. Tim
New member | Level 2

Should the movePath API not be called in main thread?

  • (BOOL)movePath:(DBPath )fromPath toPath:(DBPath *)toPath error:(DBError *)error

Sometimes it showed an error saying that it should not be called in main thread, but there is no comment on the API document webpage said we should not call it in main thread.
https://www.dropbox.com/developers/sync/docs/ios#DBFilesystem

Did you have any Sync API document that can tell us what APIs should not be called in main thread?

1 Reply 1

Steve M.
Dropbox Staff

What's the exact error message and stack trace you're seeing?

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Steve M. Dropbox Staff
What do Dropbox user levels mean?