Issue accessing files with cfs upload via API

I'm using the CFS temporary endpoint community.telligent.com/.../upload-cfs-rest-endpoint to upload a file and then passing the url of the file to the create media post endpoint.

I've used some of the code from here as a basis; https://community.telligent.com/community/9/w/developer-training/53237/uploading-files#Embed_a_File_in_a_Post

However I'm having issues when trying to view the files as other users.

I have tried to upload the files as the admin user and create the posts as an admin user and also via impersonation using other user accounts and unless I create and upload the files under my account I can't view/download them. I get an 'you do not have permissions to view the directory or page' error message.

I can see the post in the media gallery fine, just not the file.

There is something simliar mentioned here: https://community.telligent.com/community/10/f/ask-the-community/1145434/issue-using-files-uploaded-to-cfs-via-rest/1600829#1600829 but I've tried everything I can think of and I still can't get the files to be viewable/downloadable by group members of the gallery. I've checked the gallery permissions too and they seem fine.

Can someone help me out with this?

Parents Reply Children
No Data