Full-Weatherline-Widget
Full-Weatherline-Widget copied to clipboard
weatherData.daily[0] error
Getting the following error and my coding isn't good enough and I'm not confident enough to tell what needs changing here.
Error on line 1205:54: TypeError: undefined is not an object (evaluating 'weatherData.daily[0]')
API needed.
Which api good I try many but not work here 1 "api.openweathermap.org/data/2.5/weather?q=Budapest&appid=3d85e33b83cb4c9aba32a5f1323fdb18"
I have error
I think api is good i see this when i tested browser: {"coord":{"lon":19.0399,"lat":47.498},"weather":[{"id":701,"main":"Mist","description":"mist","icon":"50d"}],"base":"stations","main":{"temp":276.94,"feels_like":272.35,"temp_min":276.48,"temp_max":277.15,"pressure":1029,"humidity":87},"visibility":5000,"wind":{"speed":4.12,"deg":130},"clouds":{"all":90},"dt":1613901259,"sys":{"type":1,"id":6663,"country":"HU","sunrise":1613885953,"sunset":1613924162},"timezone":3600,"id":3054643,"name":"Budapest","cod":200}
but error same like line 1218:54
anyone have any idea what's wrong?
Just the api code no whole link of.
@felho001 did you fix the error? I am getting the same one 😬
I know this is old, but I'm getting (almost) the same error 1219:54: TypeError: undefined is not an object (evaluating 'weatherData.daily[0]')
I've tried different API keys, but they all give this error message.