HumanCellAtlas / dcp-cli

DEPRECATED - HCA Data Coordination Platform Command Line Interface
https://hca.readthedocs.io/
MIT License
6 stars 8 forks source link

Auth error. #493

Open DailyDreaming opened 4 years ago

DailyDreaming commented 4 years ago

This only happens on prod for me. This probably should not print the user's token to the screen.


(v3nv) quokka@qcore:~$ hca dss get-collections
Traceback (most recent call last):
  File "/home/quokka/data-store/v3nv/bin/hca", line 10, in <module>
    sys.exit(main())
  File "/home/quokka/data-store/v3nv/lib/python3.6/site-packages/hca/cli.py", line 131, in main
    result = parsed_args.entry_point(parsed_args)
  File "/home/quokka/data-store/v3nv/lib/python3.6/site-packages/hca/util/__init__.py", line 161, in _cli_call
    return self._consume_response(self._request(vars(cli_args)))
  File "/home/quokka/data-store/v3nv/lib/python3.6/site-packages/hca/util/__init__.py", line 146, in _request
    raise SwaggerAPIException(response=res)
hca.util.exceptions.SwaggerAPIException: None: None (HTTP 403). Details:
{"message":"'eyJ0eXAsomethingsomethingyuSYC_kmcWvQA' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer eyJ0eXAsomethingsomethingiOiJKV1QiLCJhbGc"}```