Skip to content

Trouble with access #809

@MichaelHopwood

Description

@MichaelHopwood

I had some code which queried data from the arbiter last year, but I'm noticing that it is failing now. Also, I am seeing that https://solarforecastarbiter.org/ is nonresponsive. What adaptations do we need to make to interact with the arbiter?

>>> import os
>>> from solarforecastarbiter.io import api
>>> api.request_cli_access_token(os.environ["SOLARARBITER_USER"], os.environ["SOLARARBITER_PASS"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "E:\Users\MichaelHopwood\miniconda3\lib\site-packages\solarforecastarbiter\io\api.py", line 61, in request_cli_access_token
    req.raise_for_status()
  File "E:\Users\MichaelHopwood\miniconda3\lib\site-packages\requests\models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://solarforecastarbiter.auth0.com/oauth/token

Using version solarforecastarbiter==1.0.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions