The answer from OpenWeatherMap
Hello, thank you for contacting us.
It looks like the problem is on their side, as the API key works fine with no issues in the browser: https://api.openweathermap.org/data/2.5/weather?q=Carces&units=metric&appid=4fb7163d47464b4f0cfd051ab447446b
If you have any other questions, please don’t hesitate and contact us.
Kind regards,
Artūras Rosliakas
Technical Support Specialist
https://api.openweathermap.org/data/2.5/weather?q=Carces&units=metric&appid=4fb7163d47464b4f0cfd051ab447446b
{"coord":{"lon":6.1831,"lat":43.4763},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"base":"stations","main":{"temp":31.93,"feels_like":34.24,"temp_min":27.03,"temp_max":32.79,"pressure":1013,"humidity":50,"sea_level":1013,"grnd_level":980},"visibility":10000,"wind":{"speed":0.89,"deg":144,"gust":3.58},"clouds":{"all":0},"dt":1724426810,"sys":{"type":2,"id":2006427,"country":"FR","sunrise":1724388574,"sunset":1724437589},"timezone":7200,"id":3028637,"name":"Carcès","cod":200}