airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh Agrawal <agras...@umail.iu.edu>
Subject Getting Authorization error while trying to connect to apidev.scigap.org
Date Mon, 02 Oct 2017 18:48:54 GMT
Hi all,

I am trying to connect to apidev.scigap.org from the attached
scipt 'test.py'
I am getting the following exception:
apache.airavata.api.error.ttypes.AuthorizationException:
AuthorizationException(message='Error in authenticating or authorizing
user.')

These are the steps I followed for running this script:

1: Created an account on https://testdrive.airavata.org/
2: Got dev admin access on this account
3: Ran the following command with my credentials:
curl --data "username=myusername&password=mypassword"
https://dev.testdrive.airavata.org/api-login
to get the access token
4: Followed the steps in this document
<https://github.com/machristie/airavata-python3-client/blob/master/README.md>
to setup the environment
5: Ran the attached program: test.py

Please suggest.

Best Wishes,
Saurabh Agrawal
LinkedIn <https://www.linkedin.com/in/saurabh-agrawal-1a048b118i> Github
<https://github.com/saurabhagrawal0412>

Mime
View raw message