I use this python code to get data, but it returns some error "SynapseHTTPError: 403 Client Error:
insufficient_scope. Request lacks scope(s) required by this service: download" ?
In fact, i can view the dataset term and my data access request has been approved. I don't know how to deal with it.
Any suggestions will be appreciated.
# my python code
import synapseclient
syn = synapseclient.Synapse()
syn.login(authToken="myToken")
query = syn.tableQuery("SELECT * FROM syn5511444")
query.asDataFrame()
Created by longshun liu liulongshun Thank you very much for your reminder and explanation. I don't know that the Personal Access Token only have "View" access by default.
Now i have applied for a new Personal Access Token with "View, download and motify". The problem has been solved.
You are so kind. Thank you sincerely for your help.
What scope does your Personal Access Token have? By default they only have "View" access selected.
Drop files to upload
Request lacks scope(s) required by this service: download page is loading…