Mega with wiznet shield (wire hack)+thingspeak+sd problem

I would work on the sending data to the server and read a response until it works flawlessly. Then add the SD code to save the data.