Hi all,
I am trying to create an .acl file for a resource in CSS via http POST request. But I am getting the following error.
{"name":"ForbiddenHttpError","message":"Slug bodies that would result in an auxiliary resource are forbidden","statusCode":403,"errorCode":"H403"}
And my http request is as follows.
final createResponse = await http.post(
Uri.parse(fileLocUrl),
headers: <String, String>{
'Accept': '*/*',
'Authorization': 'DPoP $accessToken',
'Connection': 'keep-alive',
'Content-Type': 'text/turtle',
'Link': '<http://www.w3.org/ns/ldp#Resource>; rel="type"',
'Slug': 'myDataFile.ttl.acl',
'DPoP': dPopToken,
},
body: '',
);
Any idea what’s causing this error?
Thanks in advance for your support.
Anushka