This error shows up while trying to upload a file from within a community flow as a registered user and to a custom object created by the registered user himself:
I'm using the standard lightning flow-component to upload files and this actually works if I use the Account object instead.
What I've tried so far based on my research on the issue:
- Check that the sharing settings for the custom object are set to "Public Read/Write" for both internal and external users (I even changed the default access to "Private" and then back to "Public Read/Write").
- Ensure that the field "Related Record ID" of the upload component contains a valid Id of the custom object (by displaying the used variable in the flow screen and compare it to the record Id).
- Ensure that I can upload Files to the custom object within the "Notes & Attachments" related list.
Any help or guidance is appreciated - Thanks in advance.
The variable I use in the "Related Record ID" parameter of the upload component is the same I used on the previous step to store the Id of the newly created custom object:
Storage of the new record id into the variable
Assignment of the variable in the upload field
And as stated above, I double checked that the variable contains a valid Id and that the record exists (created by the regsitered user).
These are the settings under Salesforce Files -> General Settings. Enabling the first or last option doesn't seem to have any effect and the other options do not seem relevant with regard to this issue.