Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
deebee_it
7 years agoHelpful | Level 5
Error in call to API function "files/list_folder": request body: could not decode input as JSON
Good morning, I do this request with Arduino: client.print(String("POST /2/files/list_folder HTTP/1.1\r\n") + "Host: api.dropboxapi.com" + "User-Agent: ESP8266/Ard...
- 6 years ago
FOUND!
I used static IP:162.125.5.7to access the server.
Probably Drobbox changed the IP a few days ago.
Now I switched to
api.dropboxapi.comand everything works like a charm.Thank you for the support! :)
deebee_it
6 years agoHelpful | Level 5
The path exists: I looked directly in my account and I access it with no problem using a js web page!
I tried editing the token in my Arduino call, using a random dummy token... And the error is the same: 4xx... not found...
I thought that the error should be different, or not? :|
deebee_it
6 years agoHelpful | Level 5
Here is the request header of the js web page (that works well OK):
POST /2/files/list_folder HTTP/2 Host: api.dropboxapi.com User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: */* Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate, br Authorization: Bearer xxxxxxxx Content-Type: application/json Content-Length: 33 Origin: https://xxxx Connection: keep-alive Referer: https://xxxx TE: Trailers
And the request:
{"path":"/glucose/202011/10/09/"}About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!