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

Forum Discussion

Harsimranjeet007's avatar
Harsimranjeet007
New member | Level 2
1 month ago

Failed to Load Request Error when using Chooser API

We use the Dropbox Chooser API and have recently started having a problem with it . Now when the user selects a file from the Chooser pop-up then clicks "Choose" to confirm their selection, an error appears saying "Failed to load request". The pop-up window does not close and nothing is returned to our app.

 

Nothing about our code has changed in a long time that I'm aware of. I have confirmed that our app has the appropriate permissions in the App Console, and our API key is correct. Was there something that changed on Dropbox's end that would cause this to start happening? It happens in all browsers we've tried it in (Chrome, Edge, and Safari on Windows 10, macOS, and iOS)

7 Replies

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

    Hi Harsimranjeet007​ 

    We'll be happy to help with any issues you're having, but we'll need some more information. Please reply with:

    • 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
    • screen recording of the issue with the developer console open
  • Harsimranjeet007's avatar
    Harsimranjeet007
    New member | Level 2
    1 month ago

    Hi..

    We are intergrating the dropbox chooser feature in our cloud storage application (currently this new feature is in testing phase). When the chooser popup appears (after the user has provided his dropbox credentials) and user clicks on choose option after selecting a file then we are getting "Failed to load request" error message inside the dropbox chooser popup. Please refer the below screenshots.

    Response of the share api call made at https://www.dropbox.com/dropins/share ::

    <!DOCTYPE html>

    <html>

    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Dropbox - 400</title>

    <link href="https://cfl.dropboxstatic.com/static/metaserver/static/css/error.css" rel="stylesheet" type="text/css"/>

    <link rel="shortcut icon" href="https://cfl.dropboxstatic.com/static/images/favicon.ico"/>

    </head>

    <body>

    <div class="figure">

    <img src="https://assets.dropbox.com/www/en-us/illustrations/spot/target-miss.svg" alt="Error: 400"/>

    </div>

    <div id="errorbox">

    <h1>Error (400)</h1>Something went wrong. Don't worry, your files are still safe and the Dropbox team has been notified. Check out our <a href="https://status.dropbox.com">Status Page</a> to see if there is a known incident, our <a href="https://www.dropbox.com/help">Help Center</a> and <a href="https://forums.dropbox.com">forums</a> for help, or head back to <a href="https://www.dropbox.com/home">home</a>.

    </div>

     

    </body>

    </html>

     

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

    Harsimranjeet007​ 

    Thanks for that additional information. I am not able to reproduce the issue on my end. Could you confirm whether this issue is persistent across different users as well?

    Also, do you have a sample page that reproduces this issue that you can share? Otherwise, can you share the specific code/parameters you're using to set up the Chooser on your app so we can reproduce this? Feel free to open a ticket here if you'd prefer to share privately.

  • Harsimranjeet007's avatar
    Harsimranjeet007
    New member | Level 2
    1 month ago

    Hi..

    This issue is happening for newly created dropbox accounts. I tried this workflow for my old dropbox accounts it worked fine but failed to work for newly created dropbox accounts.

    I am sharing a snippet of a code that we are using to launch the Dropbox chooser

     

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

    Harsimranjeet007​ 

    Apologies for the delayed response here.

    I see that you’ve since opened a support ticket, so we’ll continue the conversation and follow up with you directly there to make sure this gets addressed.

  • aaliyamalikk's avatar
    aaliyamalikk
    New member | Level 2
    1 month ago

    Nothing about nekopoi code has changed in a long time that I'm aware of. I have confirmed that our app has the appropriate permissions in the App Console, and our API key is correct. Was there something that changed on Dropbox's end that would cause this to start happening? It happens in all browsers we've tried it in (Chrome, Edge, and Safari on Windows 10, macOS, and iOS)

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

    aaliyamalikk​ 

    Thanks for checking in.

    There haven’t been any recent changes on our side that would cause the Dropbox Chooser to stop working, and we haven’t received reports from other customers seeing similar behavior. We’re also not able to reproduce the issue on our end.

    To help us investigate further, do you have a sample page that reproduces this issue that you can share? Could you also share a screen recording of the flow you are following when the issue is encountered? From beginning to end, with the developer console open. Please ensure that the whole browser window can be seen as well.

    A HAR file might be helpful also.

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!