Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Custom App with JWT auth uploads just 12 files per session

Answered
New post

Comments

5 comments

  • cbetta

     hard to tell without much more detail. Does the SDK return an error? 

    0
    Comment actions Permalink
  • RafaelCampero

    Hi 

    no, it doesn’t. It’s like the session is disconnected. The app is executed in a gcloud function and uploads the files from gcloud storage.  When I run the app this way it upload 10 to 12 files. When I run the app locally it just uploads 3 to 5 files.  Both finish without any error message. 

     

    0
    Comment actions Permalink
  • cbetta

    That is weird. If this was a network disconnect then the SDK should return an error. Could you share the code with me?

    0
    Comment actions Permalink
  • RafaelCampero

     

    Sorry, my mistake.

    The problem was the way I was managing  glocud stream  response. 

    I just have to populate a list with the contents of the firestore database query stream and then iterate the list.

    Thanks   

     

    0
    Comment actions Permalink
  • cbetta

    No problem, I did find it odd that the SDK didn't return a response. I hope it all works out from here.

    0
    Comment actions Permalink

Please sign in to leave a comment.