You need to sign in to do that
Don't have an account?
Aditi Singh 41
Insufficient access for contentVersion object for community site user.
Below are steps for my use case:
Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.: [NetworkId]
*I don't have option to give contentVersion object permission to community profile.
- I am updating a field on a custom object(say CMyobj).
- There is record triggered flow on CMyobj which calls an apex method and inside this a document is created.
Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.: [NetworkId]
*I don't have option to give contentVersion object permission to community profile.
Can you check the CMyobj object permissions for that community user.
refer the below link have solution for similar kind of issue.
https://salesforce.stackexchange.com/questions/106212/insufficient-access-on-cross-reference-entity-insufficient-access-rights-on-cro
THanks!!