Forum Discussion

Здравко's avatar
Здравко
Legendary | Level 20
2 years ago
Solved

Trouble running /2/files/list_folder in as App Authenticated

Probably I'm getting crazy, but following command:

curl -X POST https://api.dropboxapi.com/2/files/list_folder \
     -H "Content-Type: application/json" -u "<APP KEY>:<APP SECRET>" \
     --data '{"path":"","shared_link":{"url":"<shared link to folder>"}}'

 ... doesn't work anymore. I think, it used to work. 🤔 What's going on?

It doesn't return even an error (I mean body) if we ignore the HTTP 500 code! Just nothing - literally empty response body, no just without entries. When I intentionally make some mistake (wrong secret or something else) 'correct' error gets back, but when everything is correct, nothing...

Any thoughts?

 

PS: x-dropbox-request-id: 778c7e7bbe7e4d5b8d3ce3e97ac6e7e1, if can be of some help. In addition, when the same call is user authenticated, everything is fine.

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

    This should be fixed now. Please let us know if you're still seeing any issues.

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

    Thanks for the report. We're looking into it. I'll reply here once I have an update on this.

    • plancher's avatar
      plancher
      Explorer | Level 3

      Still don't have a solution to this problem?

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

      plancher This is open with the team, but I don't have an update on it yet. I'll follow up here once I do.