Weather App get JSON Help


I’m stuck on the Local Weather App and I can’t see what I’m doing incorrectly. Currently all I’m trying to do is test the getJSON request but the console message I’m receiving is 404 Not Found. I’ve copied the url from the Open Weather Website, created and inserted my ID but it just won’t work. Here is my code, hopefully someone can help:

$(document).ready(function() {


$.getJSON(",uk&APPID={my ID}", function(data){


Many Thanks

Looks like the url is missing the protocol, e.i., http:// or https://

Problem solved. Thank you for your help. In hindsight it seems like a glaringly obvious mistake to make :sweat:

Don’t feel too bad about it…we’ve all been there a time or two and made those same simple mistakes :slight_smile:

1 Like