I have just started out with visual crossing and I am creating a program in python. I am getting this error. I have tried changing the API key but it makes no difference. Any help would be great. Thanks
1 comment
-
Support Agent Official comment Thank you for your question and I'm sorry for the problem you are having.
This error generally indicates that the URL you are submitting to our servers is not correctly formed and so the key cannot be found. The best way to troubleshoot this is to print the URL you are submitting to the console or to a debugger and then try the full URL in a browser to see what is returned.
If you are using one of our python samples, we recommend starting with the full code listing from our GitHub samples repository (https://github.com/visualcrossing/WeatherApi) rather than piecing together snippets of code from the article as this can cause errors (the code snippets in the articles sometimes miss out lines to try to keep clarity).
For more debugging tips, please see https://www.visualcrossing.com/resources/documentation/weather-api/how-to-debug-problems-when-running-weather-api-queries-in-code/
RegardsVisual Crossing Support