Skip to main content

Hi all, 

 

I've been working on a solution using Data Cloud to ingest data into Salesforce from an external DataBricks db, I have it set up with all my mappings and I am able to use a "Get Records from Data Cloud" flow node. 

 

The flow is embedded on a Experience Cloud site which can be accessed by unauthenticated/guest users, it runs in system mode and up until last week worked fine. 

 

On Friday however I noticed it stopped working for guest users, gack errors were thrown and more recently I was able to get a System.QueryException error saying the "sObject type 'sample_data_Databricks1__dlm' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name." 

 

I then went back and looked through all my flow versions to make sure I haven't changed anything, and even on V1 the query still happened, in system mode and a guest user was able to access it. 

 

Now I'm just trying to understand if this was actual intended behaviour or something around my org setup changed to break this considering multiple other users none of which had Salesforce org access were able to use and get past the screen with the "Get Records" element and the query successfully running and returning as a guest user. 

 

Any help would be appreciated. 

 

Thank you.

3 件の回答
  1. 10月13日 4:56

    Hi @Cosmin Stanescu

    , 

     

    I recently ran into a very similar issue. After some investigation, I found that Salesforce had sent a Security Notification regarding Data Cloud access for portal and guest users.

    The notification stated:

     

    According to Salesforce, this only affects environments where administrators have explicitly configured access to Data Cloud (Data 360) entities for portal or guest users, for example by assigning Data Cloud permissions to community users, exposing Apex classes through Experience Cloud, or using Retriever-based access.

     

    In my case, the issue was related to these security changes. After reviewing and updating the Data Cloud entity access settings according to Salesforce's guidance, the flow started working again. I would recommend checking whether your org received the same Security Notification and reviewing the

    Control External User Access help article for the latest guidance on guest-user access to Data Cloud entities.

    Based on my experience, it appears that Salesforce has tightened security around external access to Data Cloud objects, which may explain why something that worked previously is no longer working for guest users. Hope that helps!

0/9000