Hi, new user here. I’m trying to get my feet wet (after auto finding some things in the paperUI) with a service, and I thought displaying weather info might be nice. I chose the ApiXU provider, which now apparently redirects to Weatherstack.
However, I’m finding the weather add-on is throwing an error - as far as I can tell, my configuration is correct. Putting logging to ‘trace’, I see:
2020-11-11 16:34:16.091 [DEBUG] [eather.internal.scheduler.WeatherJob] - Starting Weather job for location ‘home’
2020-11-11 16:34:16.105 [TRACE] [nal.provider.AbstractWeatherProvider] - APIXU[home]: request : https://api.apixu.com/v1/current.json?key=efe39xxxxxxxxxxxx&lang=en&q=12.xx,70.xx
2020-11-11 16:34:17.528 [TRACE] [nal.provider.AbstractWeatherProvider] - APIXU[home]: response: error code: 1010
2020-11-11 16:34:17.755 [ERROR] [nal.provider.AbstractWeatherProvider] - APIXU: Unrecognized token ‘error’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: error code: 1010; line: 1, column: 6]
2020-11-11 16:34:17.975 [ERROR] [eather.internal.scheduler.WeatherJob] - Unrecognized token ‘error’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: error code: 1010; line: 1, column: 6]
com.fasterxml.jackson.core.JsonParseException: Unrecognized token ‘error’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: error code: 1010; line: 1, column: 6]
Running the REST call in the browser returns:
{
“0”: “#################################################################################################################################”,
“1”: “# #”,
“2”: “# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT #”,
“3”: “# #”,
“4”: “# This API endpoint is deprecated and has now been shut down. To keep using the apixu API, please update your integration #”,
“5”: “# to use the new weatherstack API endpoint, designed as a simple drop-in replacement. #”,
“6”: “# You will be required to create an account at https://weatherstack.com and obtain an API access key. #”,
“7”: “# #”,
“8”: “# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/apilayer/weatherstack#readme #”,
“9”: “# #”,
“a”: “#################################################################################################################################”
}
Going to api.weatherstack.com, I see they do have a RESTful interface, but it’s different (of course!) than the one that ApiXU used.
As a newbie…is this something that I just mention here in the forums and…that’s it? Switch to a different provider? Or is there a better way to report an issue?
Thanks!