https://api.openweathermap.org/data/2.5/onecall?lat=25.056255&lon=121.122192&lang=en&appid=892b27f0902fa54e6b4bc322d8840669
I got a similar error:
{"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."}
If you replace "onecall" with "weather"
it will get a response.
https://api.openweathermap.org/data/2.5/weather?lat=25.056255&lon=121.122192&lang=en&appid=892b27f0902fa54e6b4bc322d8840669
{"coord":{"lon":121.1222,"lat":25.0563},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"base":"stations","main":{"temp":299.19,"feels_like":299.19,"temp_min":297.02,"temp_max":300.9,"pressure":1014,"humidity":78},"visibility":10000,"wind":{"speed":10.8,"deg":50},"clouds":{"all":75},"dt":1666939074,"sys":{"type":1,"id":7950,"country":"TW","sunrise":1666908012,"sunset":1666948695},"timezone":28800,"id":1676426,"name":"Guoxizi","cod":200}
So I guess the API key is active , could it be a difference code that is causing the error?