Hi, I am trying to download the data using the python client but I keep getting the following error
Traceback (most recent call last):
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 3841, in _handle_synapse_http_error
exceptions._raise_for_status(response, verbose=self.debug)
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/core/exceptions.py", line 160, in _raise_for_status
raise SynapseHTTPError(message, response=response)
synapseclient.core.exceptions.SynapseHTTPError: 401 Client Error:
The provided username/password combination is incorrect
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 411, in login
self.credentials = credential_provider_chain.get_credentials(
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/core/credentials/credential_provider.py", line 223, in get_credentials
creds = provider.get_synapse_credentials(syn, user_login_args)
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/core/credentials/credential_provider.py", line 41, in get_synapse_credentials
return self._create_synapse_credential(syn, *self._get_auth_info(syn, user_login_args))
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/core/credentials/credential_provider.py", line 46, in _create_synapse_credential
retrieved_session_token = syn._getSessionToken(email=username, password=password)
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 482, in _getSessionToken
session = self.restPOST('/session', body=json.dumps(req), endpoint=self.authEndpoint,
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 3904, in restPOST
response = self._rest_call('post', uri, body, endpoint, headers, retryPolicy, requests_session, **kwargs)
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 3871, in _rest_call
self._handle_synapse_http_error(response)
File "/home/gupta/anaconda3/lib/python3.9/site-packages/synapseclient/client.py", line 3848, in _handle_synapse_http_error
raise SynapseAuthenticationError(
synapseclient.core.exceptions.SynapseAuthenticationError: You are not logged in and do not have access to a requested resource.
Please let me know how can I fix it.
Thanks
Vikash