Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

aparnell's avatar
aparnell
Explorer | Level 3
1 month ago
Solved

Receiving errors from Dropbox API

Hello we've had intermittent issues with the Dropbox API, where some users within our org are unable to upload pictures or docs. In our Kibana logging we are seeing this error occur:

:Error= com.dropbox.core.NetworkIOException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

We are trying to narrow down why is error is occurring and if you need any additional info about our config please let me know.

 

  • Hi aparnell​ 

    Thanks for writing in. It looks like you are running into an error due to outdated root certificates being used on your current SDK version.

    We’re performing a staged root certificate rollout, starting with short validation windows before making the change permanent. Please see more information in this blog post.

    In order to maintain access to the Dropbox API, please upgrade to the applicable required SDK version:

    • Java SDK v7.0.0 or greater
    • .NET SDK v7.0.0 or greater
      • Note that apps using older versions of the .NET SDK are only affected if they call DropboxCertHelper.InitializeCertPinning().
    • Python SDK v12.0.2 or greater

5 Replies

Replies have been turned off for this discussion
  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    1 month ago

    Hi aparnell​ 

    Thanks for writing in. It looks like you are running into an error due to outdated root certificates being used on your current SDK version.

    We’re performing a staged root certificate rollout, starting with short validation windows before making the change permanent. Please see more information in this blog post.

    In order to maintain access to the Dropbox API, please upgrade to the applicable required SDK version:

    • Java SDK v7.0.0 or greater
    • .NET SDK v7.0.0 or greater
      • Note that apps using older versions of the .NET SDK are only affected if they call DropboxCertHelper.InitializeCertPinning().
    • Python SDK v12.0.2 or greater
  • pvanHCCP1's avatar
    pvanHCCP1
    New member | Level 2
    1 month ago

    Would this explain why issue is currently intermittent?

     

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    1 month ago

    Hi pvanHCCP1​ 

    Yes, this staged rollout would explain why it may appear resolved temporarily or why it may have been working before today.

  • aparnell's avatar
    aparnell
    Explorer | Level 3
    1 month ago

    Thank you for this info, we've upgraded the related SDK and are currently monitoring for any further errors

  • aparnell's avatar
    aparnell
    Explorer | Level 3
    1 month ago

    Its been a couple days since we upgraded and haven't seen the error since so I believe we are all set

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!