We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Cato2021's avatar
Cato2021
Explorer | Level 4
3 years ago

I'm getting an Empty JSON Notification

I've created an app in the Dropbox for developers app console, set the permissions and now want to get notifications on the account's operations.
(I'm using Flask and a python code that is similar to the example (using Flask etc.)
BUT I'm getting empty notification 😞
This is how it looks:
{

'delta': {},

'list_folder': {}

}

 

Please assist, what could be the reason?

  • Greg-DB's avatar
    Greg-DB
    3 years ago

    You can reconnect an existing application (in development mode or not) the same way you did originally. E.g., you can use the "Generate" button on the app's page on the App Console to connect it to your own account, or otherwise use the OAuth flow.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report! It sounds like you've connected the account to the app without the "files.metadata.read" scope, which is required for receiving the relevant information in the webhook notification. (I'll also ask the team to see if we can update the implementation to skip sending empty notifications like this to avoid confusion.)

     

    You'll need to reconnected the account(s) with the 'files.metadata.read' scope enabled in particular.

     

    Note that just adding a scope to your app via the App Console does not retroactively grant that scope to existing connections. That being the case, to grant that scope, you'll need to reconnect the account(s) with that scope enabled

    • Cato2021's avatar
      Cato2021
      Explorer | Level 4

      Thank you for your response!
      I disconnected my app and now want to reconnect but I can't find how.
      Can I connect my account to an app that is still in development?
      Or should I create another one?

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        You can reconnect an existing application (in development mode or not) the same way you did originally. E.g., you can use the "Generate" button on the app's page on the App Console to connect it to your own account, or otherwise use the OAuth flow.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 7 days ago
192 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!