I currently am testing one of the API endpoints: specifically the 
exportRDFFile endpoint for a taxonomy. I've read the documentation and have 
configured BasicAuth with my Python request. I'm running into an error I 
will post below along with my code stub. I've tried this with all user 
accounts to no avail (it is on my localhost, I am the admin for more 
clarity). I would appreciate some pointers to get this cleared up.

Code stub (Python3):
`session = requests.Session()`
`session.headers.update({"Connection": "Keep-alive"})`
`res = 
session.get("http://localhost:8083/tbl/service/{taxonomy_name}/tbs/exportRDFFile?format=json-ld";,
 
auth=HTTPBasicAuth("user", "password")).text`

Response (res):
"Cannot invoke org.topbraid.auth.TBUser.canUpdate(org.topbraid.auth.Asset) 
because the return value of org.topbraid.auth.user.TBUserFactory.getUser() 
is null."

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/d1702a77-1f11-4b86-883e-fe083954d627n%40googlegroups.com.

Reply via email to