-
Notifications
You must be signed in to change notification settings - Fork 61
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
Error 403 for 7-day weather forecast #38
Comments
I'm experiencing the same problem but don't know when it started. |
I have the same issue, wondering if its related to the tomorrow.io free account only getting a 5 day forecast? |
Could be. Have they changed that recently? |
I just logged into my Tomorrow.io account and it shows no calls for my account. Anyone know if the current weather is coming from Tomorrow or Mapbox? The call stats was on the main page as well as this link: https://docs.tomorrow.io/reference/weather-forecast |
Let's hope someone can help :D |
I messaged him on reddit, I'm hoping it's an easy fix... I'm no coder. |
Had this issue so I looked into it. This is because the free tier only lets you show 5 days into the future. |
@jbeckley11 ... can't thank you enough for figuring this out issue and coming up with the fix. I'm not very experienced with JS... so to rebuild the project, do I run "npm install" from the app directory? |
@k5map To rebuild the project, navigate into the client folder and do |
@jbeckley11 ... thanks for the commands. When I run "npm run prod", I get this error: pi@pi-Weather:~/pi-weather-station/client $ npm run prod
sh: 1: webpack: not found npm ERR! A complete log of this run can be found in: Any ideas what could be wrong? |
@k5map not sure if its the correct way to do it but this is how I got around the webpack error.. : |
@ZeroCool-Dade ... that did it, Much Thanks! |
Thanks for that :D Has anyone tried that with the Docker container? |
#39 |
@elewin... this is not a big deal but did you also update file client/src/components/weatherCharts/DailyCharts/index.js line 30 from 7 Day to 5 Day? |
@elewin Are you able to merge the fix with Sean Riggs's Docker fork? Edit: Never mind, I updated the file in the container. |
Thanks all for their help in resolving this and @elewin for updating the code. |
Yep. Thanks a lot guys :) |
Not sure. I haven't gotten any response regarding this topic. I guess you need to change it yourself for now. Install nano inside the container and change it (it's Alpine Linux btw). |
I tried this and I'm still getting an error code 403 on the 5-day forecast. I restarted the server, tried rebuilding it, everything. Any ideas? |
Hi,
For a couple of weeks now I have been getting the following error message where the 7-day forecast should be:
"Cannot get 7 day weather forecast
Request failed with status code 403"
Has the weather provider changed something?
Edit: Same with the Docker version.
Regards
Max
The text was updated successfully, but these errors were encountered: