Full-Weatherline-Widget icon indicating copy to clipboard operation
Full-Weatherline-Widget copied to clipboard

weatherData.daily[0] error

Open W-SMatt opened this issue 4 years ago • 6 comments

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]')

W-SMatt avatar Dec 23 '20 08:12 W-SMatt

API needed.

italoboy avatar Dec 25 '20 18:12 italoboy

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 IMG_1829

felho001 avatar Feb 18 '21 22:02 felho001

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?

felho001 avatar Feb 21 '21 10:02 felho001

Just the api code no whole link of.

italoboy avatar Mar 05 '21 10:03 italoboy

@felho001 did you fix the error? I am getting the same one 😬

elalemanyo avatar May 19 '21 14:05 elalemanyo

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.

Timodej avatar Aug 05 '23 13:08 Timodej