-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Invalid characters in SPIFFS file #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @kakopappa, This looks like a SPIFFS problem.
If the problem is related to the library, you should be able to reproduce it without SPIFFS. If the problem is related to the SPIFFS implementation, you should reproduce it without ArduinoJson. If the problem is related to your hardware, your program should work fine on another board. Good luck! Best regards, |
I tested the same code on ESP8266 Core: 3.0.2 bug persists Solution seems to be to downgrade the ESP Core to 2.7.4 on ESP8266 |
@kakopappa, did you open an issue on ESP8266 Core's repository? |
Probably caused by esp8266/Arduino#8372 |
Describe the bug
{"success":true,"message":"Ok","credentials":{"appkey":"6f7cdcc8-c4b2-49b2-819f-d5e44efd808c","appsecret":"e0daaf3d-59ca-457a-804b-3ee8e241acdf-670a79b8-e323-4335-8375-9a833153ac7b"},"devices":[{"id":"61c9fd21c03c1316ae7dba52"},{"id":"61c9fd21c03c1316ae7dba64"},{"id":"61c9fd21c03c1316ae7dba76"},{"id":"61c9fd21c03c1316ae7dba88"},{"id":"61c9fd21c03c1316ae7dba9a"},{"id":"61c9fd21c03c1316ae7dbaac"},{"id":"61c9fd21c03c1316ae7dbabe"},{"id":"61c9fd21c03c1316ae7dbad0"},{"id":"61c9fd21c03c1316ae7dbae2"},{"id":"61c9fd21c03c1316ae7dbaf4"}]}
deserializeJson() failed with InvalidInput
If you change "success":false, it works fine. I cannot figure out why..
Troubleshooter report
ArduinoJson Troubleshooter's report
deserializeJson()
returnsInvalidInput
HTTPClient
HTTPClient::getString()
jsonlint
says the document is validEnvironment
Here is the environment that I used:
ESP8266
3.0.2
Reproduction
Here is a small snippet that reproduces the issue.
Program output

The text was updated successfully, but these errors were encountered: