like below fixes the issue The Dropbox Datastore API will automatically sync datastores across devices running an app linked to the same account. The Dropbox Datastore API also offers the ability to share datastores across accounts. For more information on how your app can share datastores, check out the tutorial here:
fixed the issue. Will look into that further As Clifton tried to explain, this means that you are opening it a second time (for the second view controller) before you close the first one. A datastore may only be opened once, until it is closed, so that is what the error is trying to tell you. Perhaps you can use a singleton pattern?
Convert Default Dropbox Datastore to Shareable Datastore
I think the issue was by ths following , Reposting as answer instead of comment: Yes, if you have existing data in a datastore with a non-shareable ID, you'll need to create a new datastore with a shareable ID and move the data over.