Foundry branching: medias sets on branches

Hello,

I am having an issues with a transform that is reading from a mediaset on a Foundry branch.

On the Foundry branch, the following line is generating the below error:

data = media_set.get_media_item(media_item_rid).read()

ConjureHTTPError: 403 Client Error: Forbidden for url: https://waypoint-envoy.rubix-system.svc.cluster.local:8443/compute/xx/foundry/mio-api/mio/api/media-set/ri.mio.main.media-set.xx/items/ri.mio.main.media-item.xxx. ErrorCode: ‘PERMISSION_DENIED’. ErrorName: ‘MediaSet:CannotReadMediaSetBranch’. ErrorInstanceId: ‘xx’. TraceId: ‘xxx’. Parameters: {‘viewRid’: ‘Optional[ri.mio.main.view.xxx]’, ‘mediaSetRid’: ‘ri.mio.main.media-set.xxx’}

I have verified that the media item RID is present in the mediaset on the branch and that I can access it.

Is this a known issue or is an additional step required to access a mediaset on a Foundry branch?

Thank you

Given the permission denied error, the build lacks permissions to read said media set branch, which leads to the build unable to read media items.

To resolve, permissions should be checked to ensure that the user indeed has permissions to the media set. As a start, the user can verify they are able to see the media items of the said media set in the UI.

Thank you for the reply,

I have checked the permissions, it was just me running the build and owner access on the project and access to the mediaset.

I have observed that the RID appears when search on master and the Foundry branch. When viewed on the the master branch it shows that it has been replaced with the RID of the same named file on the that branch.

The build runs as expected without issue on master.

This issue requires more investigation. Would it be OK if I contacted you to discuss further?