Hello everyone, please help
I am making an API Request as a superUser but l am getting the error below:
{
“httpStatus”: “Forbidden”,
“httpStatusCode”: 403,
“status”: “ERROR”,
“message”: “You don’t have access to fileResource ‘####’ or this fileResource is not available from this endpoint”,
“errorCode”: “E1006”
}
We have set an attribute to accept file upload. The attribute has got public access sharing settings.
URL endpoint is as follows …/api/fileResources/123/data
Welcome to the DHIS2 Community!
If you login to the browser using the super user and try to access the resource directly from the browser, are you able to access the resource?
Thanks!