Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weatherData.daily[0] error #9

Open
W-SMatt opened this issue Dec 23, 2020 · 6 comments
Open

weatherData.daily[0] error #9

W-SMatt opened this issue Dec 23, 2020 · 6 comments

Comments

@W-SMatt
Copy link

W-SMatt commented Dec 23, 2020

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

@italoboy
Copy link
Owner

API needed.

@felho001
Copy link

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
Copy link

felho001 commented Feb 21, 2021

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?

@italoboy
Copy link
Owner

italoboy commented Mar 5, 2021

Just the api code no whole link of.

@elalemanyo
Copy link

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

@Timodej
Copy link

Timodej commented Aug 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants