Hi Saurabh, Can you login to your account in https://dev.testdrive.airavata.org using the same account you are using in the script?
Thanks, Eroma On Mon, Oct 2, 2017 at 2:48 PM, Saurabh Agrawal <[email protected]> wrote: > 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> > -- Thank You, Best Regards, Eroma
