I have been using a Thingspeak Logger smart app for awhile but a few days ago I tried adding a new channel and I kept getting an error. From the logs it showed
org.apache.http.MalformedChunkCodingException: CRLF expected at end of chunk
The URL it sends is
http://api.thingspeak.com/channels/“channel ID”/feed.json?key=“Write Key”&results=0
Channel ID and Write key have been changed to protect the innocent.
This was from the line of code getting the channel info. From looking through the thingspeak documentation the URL the app is sending out seems okay, and it’s the same one it has been using for several months now, and working great.
I hard coded my device names in the app and got it working again. The URL it sends to update the individual channel data works fine. Anyone have an idea why this error might be occurring?