You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unable to use any of the files-* scripts to upload/download/copy or even view file permissions to/from the iplantc.org tenant.
$ files-cp single_genome.faa agave://data.iplantcollaborative.org/bbolduc-iplant-2015/
Refreshing token...
Traceback (most recent call last):
File "/Users/bolduc.10/Research/miniconda3/envs/CyVerse/bin/files-cp", line 60, in <module>
agave.refresh_tokens()
File "/Users/bolduc.10/Research/miniconda3/envs/CyVerse/lib/python3.7/site-packages/agavepy-0.9.3-py3.7.egg/agavepy/agave.py", line 813, in refresh_tokens
self.api_key, self.api_secret, self.refresh_token, self.api_server)
File "/Users/bolduc.10/Research/miniconda3/envs/CyVerse/lib/python3.7/site-packages/agavepy-0.9.3-py3.7.egg/agavepy/tokens/refresh_tokens.py", line 53, in refresh_token
handle_bad_response_status_code(resp)
File "/Users/bolduc.10/Research/miniconda3/envs/CyVerse/lib/python3.7/site-packages/agavepy-0.9.3-py3.7.egg/agavepy/utils/response_handlers.py", line 28, in handle_bad_response_status_code
raise AgaveAPICallError(error_msg)
agavepy.utils.response_handlers.AgaveAPICallError: "Bad POST request to https://agave.iplantc.org/token, status code 400\ngrant_type=refresh_token&refresh_token=dfe5cfffba61ca92601143127b710cf&scope=PRODUCTION\n{'error': 'invalid_grant', 'error_description': 'Provided Authorization Grant is invalid.'}\n"
However, all other scripts appear to be working: auth-, apps-, jobs-, clients-, profiles- and systems-. i.e.
So I can submit and view jobs, add new apps and update user & (private) system permissions, search user profiles, etc. But anything interacting with a file on a remote system is a no-go.
Interestingly, all the working scripts can use the -V flag for very verbose mode and it prints out the curl command. This does not happen for the files- scripts.
Describe the bug
Unable to use any of the
files-*
scripts to upload/download/copy or even view file permissions to/from the iplantc.org tenant.However, all other scripts appear to be working: auth-, apps-, jobs-, clients-, profiles- and systems-. i.e.
So I can submit and view jobs, add new apps and update user & (private) system permissions, search user profiles, etc. But anything interacting with a file on a remote system is a no-go.
Interestingly, all the working scripts can use the -V flag for very verbose mode and it prints out the curl command. This does not happen for the files- scripts.
Not sure if that's somehow related or a separate bug. It seems too coincidental.
To Reproduce
Using any of the files- scripts...
Expected behavior
I expect files to be copied to and/or from local machine to the remote storage system.
Desktop (please complete the following information):
Additional information
I've uninstalled agavepy and agave-cli, and installed into a fresh environment. No changes.
Thanks!
The text was updated successfully, but these errors were encountered: