Box for Salesforce - Gateway Time-out and Unauthorized Error

New post

Comments

4 comments

  • Official comment
    Alex Novotny

    Hey Lin, 

    Do you happen to have the request ids from the errors? This could be a few things... one being our servers being overloaded too quickly, rate limits being hit or in the case of the unauthorized upload - inadequate permissions.

    Thanks, 

    Alex, Box Developer Advocate

    Comment actions Permalink
  • Lin Thaw

    Thanks Alex,

    If so, is there best or perfect implementation to cover "overloaded too quickly" and "rate limits being hit", could you please share?

    What do you mean request ids for?

    0
    Comment actions Permalink
  • Alex Novotny

    This article talks about our rate limits. In general, you should write code that speaks to Box within those rate limit guidelines - meaning if you have 500 files to upload for a user - you should write code that can only send 240 per minute based on the specs in that article. 

    Hope this helps!

    0
    Comment actions Permalink
  • Lin Thaw

    Thanks,

    As a result of my verification, it takes 6 minutes for 100 files, so I think the limit is okay.

    0
    Comment actions Permalink

Please sign in to leave a comment.