Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 403 error (Unauthorized) when using worldweatheronline #179

Closed
developerbedoya opened this issue Dec 29, 2023 · 2 comments
Closed

HTTP 403 error (Unauthorized) when using worldweatheronline #179

developerbedoya opened this issue Dec 29, 2023 · 2 comments
Labels

Comments

@developerbedoya
Copy link

Hi, I'm trying to use this excellent program, but I can't connect to the world weather online API. This is my .wegorc file, excluding the API key. Can you help me with this problem? Is a problem with the API key, or this program is no longer compatible with that API?

Thanks!

# wego configuration
# 
# This config has https://github.com/schachmat/ingo syntax.
# Empty lines or lines starting with # will be ignored.
# All other lines must look like "KEY=VALUE" (without the quotes).
# The VALUE must not be enclosed in quotes as well!

# aat-frontend: Show geo coordinates (default false)
aat-coords=false

# aat-frontend: Monochrome output (default false)
aat-monochrome=false

# BACKEND to be used (default openweathermap)
backend=worldweatheronline

# caiyun backend: the api KEY to use (default )
caiyun-api-key=

# caiyun backend: print raw requests and responses (default true)
caiyun-debug=true

# caiyun backend: the LANGUAGE to request from caiyunapp.com/ (default en)
caiyun-lang=en

# NUMBER of days of weather forecast to be displayed (default 3)
days=3

# FRONTEND to be used (default ascii-art-table)
frontend=ascii-art-table

# json frontend: do not indent the output (default false)
jsn-no-indent=false

# LOCATION to be queried (default 40.748,-73.985)
location=-19.869,-44.045

# md-frontend: Show geo coordinates (default false)
md-coords=false

# openweathermap backend: the api KEY to use (default )
owm-api-key=

# openweathermap backend: print raw requests and responses (default false)
owm-debug=false

# openweathermap backend: the LANGUAGE to request from openweathermap (default en)
owm-lang=en

# UNITSYSTEM to use for output.
# Choices are: metric, imperial, si, metric-ms (default metric)
units=metric

# worldweatheronline backend: the api KEY to use (default )
wwo-api-key=redactedredactedredacted

# worldweatheronline backend: print raw requests and responses (default false)
wwo-debug=false

# worldweatheronline backend: the LANGUAGE to request from worldweatheronline (default en)
wwo-lang=en
@kordianbruck
Copy link
Collaborator

Most likely the problem is the API key, but also I personally haven't tried that backend in a while. Could be broken by now. The http 403 error seems much more pointing to a wrong api key.

@cmennens
Copy link

Thank you for you time and contribution ❤️
Much appreciated - Chicago, IL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants