Forum Discussion

dmf's avatar
dmf
New member | Level 2
9 years ago

Could not decode input as JSON happening in production starting today

Hi, today we started getting the error below for a small % of our userbase in production (our app has been in production for > 1 year - and this is the first time we've seen this).

 

It seems to be specific to individual authorized accounts - neither files/list_folder or

/files/list_folder/continue works for those users (they all give the error below) - but when run against other user accounts it's working fine. When a user got the error on /files/list_folder/continue we reset their sync token (so called files/list_folder for the user instead) and it still occured.

 

Is there a backend issue on the Dropbox end?

 

Error in call to API function "files/list_folder": request body: could not decode input as JSON

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Can you share a sample request and response? That will help us determine the issue. Just make sure you redact the access token. Thanks!
    • dmf's avatar
      dmf
      New member | Level 2

      Sorry for the false alarm. Looks like the issue was in some code on our end.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 14 hours ago
351 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!