cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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: 

Problem with empty storage after upgrade drobox10 in react

Problem with empty storage after upgrade drobox10 in react

alminalmmin
New member | Level 2

After update dropbox fromV4 to V10 in my laravel-react project "const mapState = state => { return{storageEmail:state.storage.user.result.name.email} }" does not work properly.
When I put console.log (stage.storage.user) inside mapState it prints 20-30 times (stage.storage.user). The first 5 6 prints object user is empty. After that, it prints the correct object. Does anyone know why this happens and how it can be fixed. Because at the bottom of the file I export the default user and it is empty.

1 Reply 1

Greg-DB
Dropbox Staff

It's not clear from this description, but if you're having any trouble with a third party platform or library itself, please refer to the support resources for that third party platform/library.

 

Otherwise, I'll be happy to help with any issues you're having with the Dropbox API in particular, but I'd need some more information. In that case, please reply with:

  • the name and version number of the platform and SDK/library you are using, if any
  • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
  • the full text of any error or unexpected output
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?