Closed radekzz closed 2 months ago
@radekzz can you provide the error message?, looks to me like something is blocking the connection from your browser
error from console http://api.openweathermap.org/data/2.5/onecall?appid={mykey}&lang=ru&units=metric&lat=51.1277&lon=71.4283
{"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}
But I'm passing 100% right API
Possible reason:
You are using a Free subscription and try requesting data available in other subscriptions . For example, 16 days/daily forecast API, any historical weather data, Weather maps 2.0, etc). Please, check your subscription in your personal account
First 3 reasons excluded
First of all, great job!!!
I have a problem when implemented a component, i'm getting Network Error. There is a blank page on screen and this error in console. This error disappear when i remove constant assignment.
Steps to reproduce in React Native app:
import ReactWeather, { useOpenWeather } from 'react-open-weather';