You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

cspro's avatar
cspro
Explorer | Level 4
8 years ago

Script errors using oauth in WebBrowser control in C#

We implemented oauth in a C# WPF application following this blog post:

 

https://blogs.dropbox.com/developers/2014/04/dropbox-authorization-in-a-windows-forms-app/

 

On our test systems it is working fine but some customers are reporting script errors on https://www.dropbox.com/1/oauth2/authorize/...

 

"Object doesn't support this property or method" Line 122 Char 9.

 

They also get an error from https://cfl.dropboxstatic.com/static/compiled/js/alameda_bundle/alameda_bundle.min-vflln0b5A.js. "Expected identifier, string or number" Line 1 Char 7283

 

 

  • Thanks! Issues like this can be expected with IE 8, as the Dropbox site doesn't support it. Having users upgrade their browser is the right solution in this case.

    And no, unfortunately I don't have an example like the blog post you linked to for doing the same with the default browser, but I'll send this along as a request to the team to write one.
    • cspro's avatar
      cspro
      Explorer | Level 4

      Thanks for the quick response. In one case it was IE version 8 and was just informed that the problem went away when he updgraded to IE 11.  Don't have version info for the others but it is likely they are using older versions of IE as well.

       

      I don't suppose you have an example of doing oauth with the default browser instead of the embedded browser? Not sure how to get the token back from the response in that case. That blog post on using the embedded browser was really useful. An updated version that uses the default browser would be fantastic.

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        Thanks! Issues like this can be expected with IE 8, as the Dropbox site doesn't support it. Having users upgrade their browser is the right solution in this case.

        And no, unfortunately I don't have an example like the blog post you linked to for doing the same with the default browser, but I'll send this along as a request to the team to write one.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 2 days ago
333 Following

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 or Facebook.

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!