Forum Discussion

C. Tim's avatar
C. Tim
New member | Level 2
11 years ago

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

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

Replies have been turned off for this discussion
  • What's the exact error message and stack trace you're seeing?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!