Dear Richard, Maybe I am not catching all the details of your question, but it looks like setCredentials is used somewhere in your code, because auth is only applied in case credentials has been provided.
https://github.com/RDFLib/sparqlwrapper/blob/master/SPARQLWrapper/Wrapper.py#L715 Just in case, this is an example SPARQL update query https://sparqlwrapper.readthedocs.io/en/stable/main.html#sparql-update-example In your case, you will need to be remove these lines: sparql.setHTTPAuth(DIGEST) sparql.setCredentials("login", "password") I hope it helps Best, Carlos Tejo On Thu, Aug 20, 2020 at 12:55 PM [email protected] < [email protected]> wrote: > > Dear all, > > Ik want to insert triples in a sparql endpoint that has no authorisation > because it runs on my local machine. I do get an 500 error and assume that > is caused by permissions. > > I do not use any authorisation so both sparql.setHTTPAuth(BASIC or > *DIGEST* ) are not approperiate, None is not accepted. > > How can this be done? > > Regards, > Richard D > > -- > http://github.com/RDFLib > --- > You received this message because you are subscribed to the Google Groups > "rdflib-dev" 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/rdflib-dev/87a68f13-1900-49ed-a3ef-a2d18af482een%40googlegroups.com > <https://groups.google.com/d/msgid/rdflib-dev/87a68f13-1900-49ed-a3ef-a2d18af482een%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" 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/rdflib-dev/CACxeb5Q29wcVgVD%2BcDQCWC-E6Axf%2BztyhJrnJq3y%2BqKG5SS1ug%40mail.gmail.com.
