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

smithmsdb's avatar
smithmsdb
Explorer | Level 3
8 years ago

Dropbox api v2 null - Do you want to allow this page to open “(null)”?

What would be causing my app to show "null" when running a Mac OS app called "ezReceiptMac" ? It is pointing to an existing Dropbox APP ID called "ezReceipt". My Mac OS app is sandboxed and has "Incoming" and "Outgoing" connections enabled. What else am I missing here?
 
 
ezReceipt would like access to its own folder,
Apps › ezReceipt, inside your Dropbox. Learn more
Cancel Allow
 
Do you want to allow this page to open “(null)”?

 

If I choose "Allow" no redirect occurs. 

 

Thanks in advance.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    I'm not sure off hand what may be causing this. Can you share a screenshot showing this so I can make sure I understand exactly what you're seeing and try to reproduce it? Thanks in advance!
    • smithmsdb's avatar
      smithmsdb
      Explorer | Level 3
      When I try to connect my sandboxed Mac OS app called “ezReceiptMac” using my existing Dropbox APP ID for an app called “ezReceipt” the prompt shows “null” for the app’s name. 
       
      I guess I would expect it to read:   Do you want to allow this page to open “ezReceiptMac.

       

      Why a null value?

       

      At this point when I click “Allow” it appears that the user does get logged into Dropbox but there is no indication of that other than in the Xcode console.  Shouldn’t this action redirect the user back to the app from the browser after clicking “Allow”?
       
      2017-01-12 10:32:52.656498 ezReceiptMac[14086:157708] DBSDKReachability Flag Status: R ------- networkStatusForFlags
      2017-01-12 10:32:59.958434 ezReceiptMac[14086:157708] -[AppDelegate handleAppleEvent:withReplyEvent:] FIRED!
      2017-01-12 10:33:00.049900 ezReceiptMac[14086:157708] Success! User is logged into Dropbox.
      2017-01-12 10:38:12.484242 ezReceiptMac[14086:157708] DBSDKReachability Flag Status: R ------- networkStatusForFlags
      2017-01-12 10:38:36.490128 ezReceiptMac[14086:157708] -[AppDelegate handleAppleEvent:withReplyEvent:] FIRED!
      2017-01-12 10:38:36.564092 ezReceiptMac[14086:157708] Success! User is logged into Dropbox.
       
      Thanks
      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        Thanks! The expected result here is that the dialog would show the app name, and clicking "Allow" would send the user back to the app.

        Can you share your plist file? That controls how your app is registered for this. In particular, for the null app name issue, I think CFBundleIdentifier may be relevant.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 35 minutes 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!