Skip to main content

Noticias en tiempo real

Conecte con colegas Trailblazers. Haga y responda preguntas para mejorar sus habilidades y crear una red.

Receiving this error when trying to create a new AI Model for this challenge "Build a Predictive Model in Model Builder"

 

STEPS from the trailhead: 

 

  1. From the App Launcher, search for and select Data Cloud.
  2. In Data Cloud, click the AI Models tab to access Model Builder.
  3. Click Add Predictive Model. Model Builder opens.
  4. Select Create a binary model. Then click Next.
  5. Leave the default data space selected and select the Lead Data for Training DMO. This DMO contains historical lead data that your model will use for its training set. Then click Next.

However, when selecting the Lead Data for Training DMO i get this error: Requested datasource Lead_Data_for_Training__dlm not found. 

Build a Predictive Model in Model Builder - Lead_Data_for_Training__dlm not found.

 

The DMO exists in the org and is included in the default data space. 

 

Anyone facing the same issue? 

 

#Trailhead Challenges

3 respuestas
  1. 6 sept, 23:48

    It is the playgroud having issues. I am facing the same issue. Data Stream last run status is success. However, in Data Explorer, it says both DLO and DMO are not existing 

    It is the playgroud having issues. I am facing the same issue. Data Stream last run status is success.

     

     

    Screenshot 2026-09-07 at 11.45.35.png

     

     

0/9000

https://trailhead.salesforce.com/content/learn/modules/email-content-and-personalization-in-marketing-cloud-next/set-up-rule-based-personalization    We can’t find a second component linked to the same personalization point. Link another component to your existing personalization point and save your changes.

 

although the two component are linked to same variation

 

Customize this draft with your own content. {{ #if (equals (personalizationResult 'July_15_heading_f437_c_v_71a3') 'General_August_Birthdays_5373')}} An August Birthday Calls for New Gear 

 

{{else}} Let’s Build an Email 

 

{{/if}}{{ #if (equals (personalizationResult 'July_15_heading_f437_c_v_71a3') 'General_August_Birthdays_5373')}}Celebrate with New Gear

https://www.salesforce.com

 

 {{else}}GET STARTED

https://www.salesforce.com

 

 {{/if}} 

 

 

4 respuestas
  1. 6 sept, 23:48

    I passed the challenge. In my case, I added another component to the personalization point (3 instead of the required 2). I thought the additional one doesn't matter but removing the additional one allowed me to passed the challenge. The failure message is not accurate and doesn't properly reflect the reason of failure.  

    To unlink, I had to create a clone of the personalization point then delete it. I hope it's helpful.

0/9000

Cloud Agent Error:

Couldn't resolve host. Make sure the domain is publicly accessible or select a different agent. 

 

#Trailhead Challenges

0/9000

Is there a special provisioned trailhead or DE org to use for the Pronto workshop? 

 

https://developer.salesforce.com/workshops/agentforce-new-workshop/getting-started/guided-workshop-setup

  

 

Optionally - I'm looking for a simplified trailhead or DE org to enable Agentforce Coworker. 

 

#Trailhead

0/9000
0/9000
2 respuestas
  1. 6 sept, 16:57

    Hi @JANAGAMA SAI CHARAN TEJA

    Start by checking the "Owned by members of" setting  

    - Setup > Security > Sharing Settings. Find the sharing rule  

    - Select which records to be shared - ensure that "Owned by members of:" is explicitly set to Roles: Recruiter  

      

    If that doesn't work, check the record ownership. Make sure the owner is assigned the recruiter role  

      

    Last, you might need to recalculate the sharing rules. Go to the sharing rule and click the Recalculate button. 

    Security > Sharing Settings." style="display: block;" /> 

    Ref:

    https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000pNRJu0AO

     

    Hi , Start by checking the Security > Sharing Settings." style="display: block;" />

     

     

     

0/9000

Since our client's API uses Bearer token authentication, I'm using Protected Custom Settings to securely store the access token. The Named Credential is set up with No Authentication

, and the Bearer token is added as a custom header in Apex, pulled securely from the Custom Setting field at runtime. 

 

This approach works well for packaging: when customers install the package, they enter their Client ID and Client Secret

, and from that, the token is generated and stored automatically — so the customer doesn't need to manually handle any OAuth flow themselves. 

 

Has anyone run into limitations with this pattern at scale, or found a cleaner way to handle token refresh within a managed package context because I'm going to listing on agentexchange.

5 respuestas
  1. 6 sept, 16:51

    @Harmeet Singh

    You can drop the Protected Custom Setting and the manual refresh entirely - use an External Credential (the new Named Credential model) instead of the old No-Auth pattern, and the platform mints and auto-refreshes the token for you. 

     

    1. External Credential - Authentication Protocol OAuth 2.0, Flow Type 'Client Credentials with Client Secret Flow'. This is the exact server-to-server case: the subscriber supplies Client ID + Secret and Salesforce generates and refreshes the access token natively - no token in a custom setting, no refresh code. 

    2. Named Credential - points to the API endpoint and references that External Credential. In Apex just call callout:YourNamedCredential/path and the Bearer header is injected. 

    3. Grant access with a Permission Set (External Credential Principal Access). 

     

    All three are packageable; after install the subscriber only populates the Principal's Client ID + Secret, so auth stays isolated from your package logic - exactly what an AgentExchange security review wants. 

     

    if this helps, please mark it as the Best Answer so it helps the next person - thanks 🙂

0/9000
1 respuesta
  1. 6 sept, 16:49

    Hello @Swetha S,  

    You can try the below options

    • Clear the browser cache -> Logout & log in again then check the challenge
    • Check your challenge in incognito mode/Private Window or a different browser.

     

    If still you face the same error, delete and create it again then try to check your challenge or I will recommend that you create a new playground and complete this task there.

0/9000
3 respuestas
  1. 6 sept, 16:44

    If you found this answer helpful, please consider marking it as the Best Answer so it can help other community members facing the same issue.

0/9000
1 respuesta
  1. 6 sept, 16:40

    Hello, 

    I was able to resolve the issue by first installing package

    04t0P000000N9rs. Since I initially completed part of the challenge without the package, I removed the existing permission set groups, deleted the permission set, and recreated the Job Application object. Starting with a fresh org and following the challenge from the beginning may also work.

    The package provides its own Candidate and Position fields, so I updated both fields on the Job Application object by changing them to Lookup Relationships. During the setup, I made sure to grant Read Access while leaving Edit Access unchecked for both fields.

    After that, I followed the remaining challenge steps and configured the Manage Job Applications permission set. Under Object Settings > Job Applications, verify that all fields have both Read and Edit access, except for Candidate and Position, which should have Read Access only.

    Once these settings were in place, the challenge validated successfully. 

     

    Hello, I was able to resolve the issue by first installing package 04t0P000000N9rs.

     

     

0/9000