Closed Rafdal closed 3 years ago
Your device memory is not enough to handle large JSON payload. The a lot of JSON meta data returned for each file. That's it.
In case of large server response payload, you need to increase the BesrSSL rx buffer and response size limit as seen in the setup.
If the internal buffer size is not enough to hold the complete JSON payload, the JSON truncated and the subsequent parsing will fail.
Another case is the receive buffer contains garbage due to the reserved memory is not enough for ssl data and payload.
Describe the bug I've tried the example List_Files.ino with the ESP8266 Wemos D1 Mini Lite but during the request it throws an exception (output at the end).
To Reproduce Steps to reproduce the behavior:
IDE and its version:
Board and framework info PLATFORM: Espressif 8266 (2.6.3) > WeMos D1 mini Lite PACKAGES:
Additional information
Serial output