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

Getting GenericException: Unknown error: 501 #176

Open
giovannirescia-upwork opened this issue Dec 17, 2021 · 0 comments
Open

Getting GenericException: Unknown error: 501 #176

giovannirescia-upwork opened this issue Dec 17, 2021 · 0 comments

Comments

@giovannirescia-upwork
Copy link

giovannirescia-upwork commented Dec 17, 2021

Hi, I am trying to use the API but am getting a 501 error for anything repo-related thing I am trying.

~/anaconda3/envs/py36/lib/python3.6/site-packages/decorator.py in fun(*args, **kw)
    230             if not kwsyntax:
    231                 args, kw = fix(args, kw, sig)
--> 232             return caller(func, *(extras + args), **kw)
    233     fun.__name__ = func.__name__
    234     fun.__doc__ = func.__doc__

~/anaconda3/envs/py36/lib/python3.6/site-packages/stashy/errors.py in response_or_error(fn, *args, **kw)
     61 def response_or_error(fn, *args, **kw):
     62     response = fn(*args, **kw)
---> 63     maybe_throw(response)
     64     try:
     65         return response.json()

~/anaconda3/envs/py36/lib/python3.6/site-packages/stashy/errors.py in maybe_throw(response)
     48             except ValueError:
     49                 e.content = response.content
---> 50             raise e
     51 
     52 

GenericException: Unknown error: 501()

Running this on a conda env with python 3.6 and stash 0.6

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

No branches or pull requests

1 participant