I have been trying to create a weather widget on the SHAC using a scrpting program that gets data from a weather api and outputs it into a User Parameter. The code so far is really simple it looks like this: [CODE]http = require("socket.http") json = require("json") weather = http.request("https://api.openweathermap.org/data/2.5/weather?q=melbourne,au&appid=*****&units=metric") response = json.decode(weather) temp = response.main.temp SetUserParam('WIRED', 'test', temp)[/CODE] Obviously "*****" is where I put my api key. I have tried to run this code directly off of windows where it prints the temp and it works fine. However, when trying to run it on the SHAC it comes up with the error: Resident script:6: bad argument #1 to 'decode' (string expected, got nil) It looks like its not finding a string from the request? Any ideas?