cosmin/stashy

Getting GenericException: Unknown error: 501

giovannirescia-upwork opened this issue · 0 comments

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